Task: Program Execution
Input (English): M, 2257, 8563, s, 8147, I, s
Output (English): 13, 2257, 8563, 19, 8147, 9, 19