from strutils import parseInt var n = readLine(stdin).parseInt for i in countup(1, n): if i mod 15 == 0: echo("FizzBuzz") elif i mod 5 == 0: echo("Buzz") elif i mod 3 == 0: echo("Fizz") else: echo($i)