for i in range(int(input())): print(("Fizz"*(i%3==0) + "Buzz"*(i%5==0)) or i)