Task: Program Execution
Input (English): 4623 q A 337 2631 m 4435 m 785 7219 677 s J 4207 5269 2349 2939 I d 3611 2917 G 9687 1707 2465 2167 R M 7405 e j
Output (English): 4623, 17, 1, 337, 2631, 13, 4435, 13, 785, 7219, 677, 19, 10, 4207, 5269, 2349, 2939, 9, 4, 3611, 2917, 7, 9687, 1707, 2465, 2167, 18, 13, 7405, 5, 10