Task: Program Execution
Input (English): 1859, E, 6129, F, 7941
Output (English): 1859, 5, 6129, 6, 7941