Task: Program Execution
Input (English): T 9091 d W 9157 M 8439 8293 n r 5071 6983 3015 S E 4673 9877 L V 5763 8115 209 2699 2833 3161 6237 7345 6811 5235 p 5821 f u o I r 5247 p 1513
Output (English): 1, 3, 4, 6, 9, 10, 14, 15, 18, 19, 30, 32, 33, 34, 35, 36, 38