Task: Program Execution
Input (English): M, 789, 9207, I, N, 2119, 9037, e, 1249, O, H
Output (English): 13, 789, 9207, 9, 14, 2119, 9037, 5, 1249, 15, 8