for i in range(1,int(raw_input()) + 1): if i % 15 == 0: print 'FizzBuff' elif i % 3 == 0: print 'Fizz' elif i % 5 == 0: print 'Buff' else: print i