#coding: utf-8 t = int(raw_input()) for i in range(1, at+1): s='' if i%3==0: s+='Fizz' if i%5==0: s+='Buzz' if s=='': s=i print s