Task: Program Execution
Input (English): 1717, M, 5291, X, L, o, r, 8941, 7589, n, v, o, u, u, M, 7031
Output (English): 30569