Task: Program Execution
Input (English): 4505 8935 d o P 1179 5619 J 5797 s 1087 1957 5163 M W 1463 1383 1989 5705 4835 2441 3279 j 9311 C m 3337 D o Q b 6075 3375 9173 r e
Output (English): 4505, 8935, 4, 15, 16, 1179, 5619, 10, 5797, 19, 1087, 1957, 5163, 13, 23, 1463, 1383, 1989, 5705, 4835, 2441, 3279, 10, 9311, 3, 13, 3337, 4, 15, 17, 2, 6075, 3375, 9173, 18, 5