Task: Program Execution
Input (English): q 7161 v M 7547 6121 o l k U 6873 7129 147 p A A c R 6617 2213 4367 907 2783 z D 5117 425 215 B Q H L R 5207 2319 t l
Output (English): 1, 3, 4, 7, 8, 9, 10, 14, 15, 16, 17, 18, 24, 25, 29, 30, 31, 32, 33, 36, 37