Task: Program Execution
Input (English): 3035 7975 L 3501 631 5003 o Q 2255 X o r y 1237 3509 4759 941 587 o l O 1153 V 7253 4533 m 1717 4849 P 4189 l A j K 5391 G 5 1451 O J
Output (English): 1, 2, 4, 5, 6, 9, 14, 15, 16, 17, 18, 22, 24, 25, 27, 28, 30, 35, 37, 38