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