Task: Program Execution
Input (English): 5117 973 X K 1755 1017 1733 3941 3423 8989 8647 Y D 2939 4025 o Q I 1401 7997 w L t 9105 8153 3559 1919 m h E 8661 x X k
Output (English): 1, 2, 5, 6, 7, 8, 9, 10, 11, 14, 15, 19, 20, 24, 25, 26, 27, 31