Task: Program Execution
Input (English): 1193, a, M, 2391, 2955
Output (English): 2