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