Task: Program Execution
Input (English): 3883, 4739, R, D, O, 5967, o, J, g, p
Output (English): 3883, 4739, 18, 4, 15, 5967, 15, 10, 7, 16