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