N=int(input()) for i in range(N+1): if N%3==0:string="Fizz" if N%5==0:string+="Buzz" print(string if string!="" else N) string=""