t = ('Fizz', 'Buzz', 'FizzBuzz') for i in range(1, int(raw_input())+1): if i % 4 == 3: print i else: print t[i % 4]