N = input(int()) i = int() i = 1 for i in range(1, N + 1): print("Fizz" * (not i % 3) + "Buzz" * (not i % 5) or i)