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