Task: Program Execution
Input (English): 9739, R, 7987, 1317, v, 611, 6553, 4745, 8561, 5555, Y, C
Output (English): 9739, 18, 7987, 1317, 22, 611, 6553, 4745, 8561, 5555, 25, 3