Task: Program Execution
Input (English): W 3111 8621 L 2125 3247 Q 7129 8715 T s 7705 X 2507 O q M 8685 W 3987 8825 W j n j C 7241 6581 7131 8363 7773 V N R 3933 b y 3487 g x
Output (English): 1, 4, 7, 10, 11, 13, 15, 16, 17, 19, 22, 23, 24, 25, 26, 32, 33, 34, 36, 37, 39, 40