N = input().rstrip() A = 0 for i in range(len(N)): A += int(N[::-1][i]) * pow(4, i) 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)