Task: Program Execution
Input (English): 3029 m h 4863 8523 w 8541 2235 V m T Q 6131 4481 8717 5893 D 8113 4335 2689 i R w e 5419 989 m 5659 5255 1353
Output (English): 3029, 13, 8, 4863, 8523, 23, 8541, 2235, 22, 13, 20, 17, 6131, 4481, 8717, 5893, 4, 8113, 4335, 2689, 9, 18, 23, 5, 5419, 989, 13, 5659, 5255, 1353