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