Task: Program Execution
Input (English): 9629, 9783, C, 1803, r, 7073, 9865, d
Output (English): 9629, 9783, 3, 1803, 18, 7073, 9865, 4