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