for i in range(1,int(input())+1):print("FizzBuzz"if i%15==0else"Fizz"if i%3==0else"Buzz"if i%5==0else i)