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