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