num = int(input()) for i in range(1, num + 1): ans = "" if i % 3 == 0: ans += "Fizz" if i % 5 == 0: ans += "Buzz" print(ans or i)