N =int(input()) for i in range(N): if i % 3 == 0: print('fizz') elif i % 5 == 0: print('buzz') else: print(i)