# C問題 N = input() l = len(N) i = 0 check3 = 0 check5 = 0 while True: if i >= l: break check3 += int(N[i]) if i % 2 == 0: check5 += int(N[i]) else: check5 -= int(N[i]) i += 1 m1 = check3%3 if m1==0 and check5 == 0: print("FizzBuzz") elif m1 == 0: print("Fizz") elif check5 == 0: print("Buzz") else: print(N)