N = int(input()) p = print for i in range(1, N+1): if not i % 15: p('FizzBuzz') elif not i % 5: p('Buzz') elif not i % 3: p('Fizz') else: p(i)