n = int(input()) for i in range(1, n): if i % 15 == 0: s = 'fizzbuzz' elif i % 3 == 0: s = 'fizz' elif i % 5 == 0: s = 'buzz' else: s = i print(s)