Task: Program Execution
Input (English): 619, 965, M
Output (English): 1584