ns = input() m = len(ns) ans = 0 for i in range(m): ans += int(ns[i]) * pow(4, m - i - 1, 15) % 15 ans %= 15 if ans == 0: print("FizzBuzz") elif ans % 3 == 0: print("Fizz") elif ans % 5 == 0: print("Buzz") else: print(ns)