Task: Program Execution
Input (English): m, 757, 125, 5351, v, 6605, E, 1381, T, X, 5331
Output (English): 19550