for x in range(input()):print x%3/2*'Fizz'+x%5/4*'Buzz'or x+1