N = input() l = list(N) l.reverse() real_num = 0 for i, l_i in enumerate(l): real_num += (4 ** i) * int(l_i) if real_num % 3 == 0 and real_num % 5 == 0: print("FizzBuzz") elif real_num % 3 == 0: print("Fizz") elif real_num % 5 == 0: print("Buzz") else: print(N)