Task: Program Execution
Input (English): 6147, m, 4133, c, 9397, 5001, 7023, U, U, 6183, 8895, 7905, 2177, 4031, E
Output (English): 6147, 13, 4133, 3, 9397, 5001, 7023, 21, 21, 6183, 8895, 7905, 2177, 4031, 5