int = int(input()) + 1 while not int > 1 and int < 100: int = int(input()) + 1 for i in range(1, int): if i % 15 == 0: print('FizzBuzz') elif i % 3 == 0: print('Fizz') elif i % 5 == 0: print('Buzz') else: print(i)