N = int(input()) for x in range(N+1): if x == 0: print("") elif x % 15 == 0: print("FizzBuzz") elif x % 5 == 0: print("Buzz") elif x % 3 == 0: print("Fizz") else: print(x)