import sys def output(a): return sys.stdout.write(a) n = int(input()) three = len("xxx") five = len("xxxxx") for i in range(True, n + True): fizz = i % three == False buzz = i % five == False if fizz and buzz: output("Fizz" + "Buzz" + "\n") elif fizz: output("Fizz" + "\n") elif buzz: output("Buzz" + "\n") else: output(str(i) + "\n")