N = int(input()) for i in range(1,N+1): S = ''; if i % 3 == 0: S += 'Fizz' if i % 5 == 0: S += 'Buzz' if S == '': S = i print(S)