from strutils import parseInt const zero = "".len const one = ".".len const three = "...".len const five = ".....".len let n = stdin.readLine.parseInt for i in one .. n: let str = if i mod three == zero and i mod five == zero: "FizzBuzz" elif i mod three == zero: "Fizz" elif i mod five == zero: "Buzz" else: $i str.echo