Task: Program Execution
Input (English): 9655, 599, 2247, R, 2341, J, 9593, R, 9455, y, D, G, Q
Output (English): 9655, 599, 2247, 18, 2341, 10, 9593, 18, 9455, 25, 4, 7, 17