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