N = int(input()) for i in range(N): match (N%3,N%5): case (0,0): print("FizzBuzz") case (0,_): print("Fizz") case (_,0): print("Buzz") case (_,_): print(i)