N = int(input()) for i in range(1,N+1): if not i % 15: print('FizzBuzz') if not i % 3: print('Fizz') if not i % 5: print('Buzz') else: print(i)