Task: Program Execution
Input (English): 631, 2323, 8717, J
Output (English): 631, 2323, 8717, 10