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