Task: Program Execution
Input (English): 5979, 3577, 1039, M, 803, 5287, B, 4555, l, 1211, 5517, b
Output (English): 27968