f=len("...") b=len(".....") for i in range(int(input())): if not -~i%f and not -~i%b: print("FizzBuzz") elif not -~i%f: print("Fizz") elif not -~i%b: print("Buzz") else: print(-~i)