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