Task: Program Execution
Input (English): 5523 r t 1839 s 1441 C W 4709 5217 p O t 2919 q 1215 D 4763 J H 5143 r 9065 8519 253 61 4377
Output (English): 5523, 18, 20, 1839, 19, 1441, 3, 23, 4709, 5217, 16, 15, 20, 2919, 17, 1215, 4, 4763, 10, 8, 5143, 18, 9065, 8519, 253, 61, 4377