import strutils let n: int = readLine(stdin).strip().parseInt() for i in 1 .. n: if i mod 3 == 0 and i mod 5 == 0: echo "FizzBuzz" elif i mod 3 == 0: echo "Fizz" elif i mod 5 == 0: echo "Buzz" else: echo i