Task: Program Execution
Input (English): 2415 7301 r 2613 9589 l 7505 6973 8245 5471 I q 3561 5065 1863 u s 705 1965 G 589 3051 l Y L o s 1529 7955 2487 w N E K z A 2261 6375 n 4767
Output (English): 1, 2, 4, 5, 7, 8, 9, 10, 13, 14, 15, 18, 19, 21, 22, 28, 29, 30, 37, 38, 40