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