Task: Program Execution
Input (English): b, 4145, t, 1319, V, 9969, 7579, U, 8261, 8809, 9531, Q
Output (English): 49613