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