Task: Program Execution
Input (English): 9613, M, D, 1183, r, v, i, 9915, 1741, L
Output (English): 4