Task: Program Execution
Input (English): 8687, f, 8527, 4161, E
Output (English): 8687, 6, 8527, 4161, 5