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