n = input() a = int(n, 4) if a % 3 == 0 and a % 5 == 0: print("FizzBuzz") elif a % 3 == 0: print("Fizz") elif a % 5 == 0: print("Buzz") else: print(n)