f="Fizz"
b="Buzz"
for i in range(1,101):
    a=f,i,i
    print [[f+b,b,b,i],a,a,a,a][i%5][i%3]
