N=input() M=int(N,4) i=0 if M%3==0: i+=1 if M%5==0: i+=2 if i==3: print("FizzBuzz") elif i==2: print("Buzz") elif i==1: print("Fizz") else: print(N)