Dassault Systèmes Interview Question

Typical Fizz Buzz style algorithm puzzles