import strutils as str proc fizzBuzz(N: int) = var i = 1 while i <= N: var s: string = ""; if i mod 3 == 0: s = s & "Fizz" if i mod 5 == 0: s = s & "Buzz" if len(s) == 0: echo i else: echo s i.inc fizzBuzz(str.parseInt(readLine(stdin)))