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