Task: Program Execution
Input (English): a, B, t, t, 8321, 3749, P, F, T, 2243, q, M, C, 111
Output (English): 14424