Task: Program Execution
Input (English): q 1859 z E M 5685 5589 P E i 161 5529 T 3253 i 9029 g s N 2019 4825 p 1215 r 25
Output (English): 17, 1859, 26, 5, 13, 5685, 5589, 16, 5, 9, 161, 5529, 20, 3253, 9, 9029, 7, 19, 14, 2019, 4825, 16, 1215, 18, 25