def options (a): for x in range(a): x = x + 1 if x%3 == 0: print("Fizz") elif x%5 == 0: print("Buzz") elif x%3 ==0 and x%5 == 0: print("FizzBuzz") else: print(x) inp = input() options(int(inp))