Task: Program Execution
Input (English): A, 9361, 9047, B, M, 9181
Output (English): 27589