Task: Program Execution
Input (English): 2361, r, 7551, J, 9473, E
Output (English): 2361, 18, 7551, 10, 9473, 5