Task: Program Execution
Input (English): F, Q, P, 6501, l, 8825, 4263, 7433, A, a, 4277, 7229, 2457, 3367, f, 4823, g
Output (English): 49175