N = int(input()) fz = "Fizz" bz = "Buzz" for i in range(1, N+1): if not i % 3 and not i % 5: print(fz+bz) elif not i % 3: print(fz) elif not i % 5: print(bz) else: print(i)