N = input() tmp3 = 0 tmp5 = 0 for i in range(len(N)): n = int(N[i]) tmp3 = (tmp3*4 + n)%3 tmp5 = (tmp5*4 + n)%5 if tmp3+tmp5==0: print("FizzBuzz") elif tmp3==0: print("Fizz") elif tmp5==0: print("Buzz") else: print(N)