n=input() b3=1 c3=0 b5=1 c5=0 for d in n[::-1]: c3+=int(d)*b3%3 c3%=3 b3*=4 b3%=3 c5+=int(d)*b5%5 c5%=5 b5*=4 b5%=5 print([n,"Fizz"*(b3==0)+"Buzz"*(b5==0)][(b3==0) or (b5==0)])