N = input() l = list(N) real_num3 = 0 real_num5 = 0 for l_i in l: real_num3 = ((real_num3 * 4) + int(l_i)) % 3 real_num5 = ((real_num5 * 4) + int(l_i)) % 5 if real_num3 + real_num5 == 0: print("FizzBuzz") elif real_num3 == 0: print("Fizz") elif real_num5 == 0: print("Buzz") else: print(N)