n = int(input()) [print("FizzBuzz") if i%15==0 else print("Fizz") if i%3==0 else print("Buzz") if i%3==0 else print(i) for i in range(1, n+1)]