Task: Program Execution
Input (English): m, 9611, f, 5229, Q, 4845, 3219, E, 9391, M, 2125, b, 4621
Output (English): 39041