Task: Program Execution
Input (English): 6465 S 9447 E d 5759 7229 s Y 3093 9099 6557 3171 1381 3907 2585 7169 2035 9147 7129 7051 M 8119 P 977 3149 2393 4861
Output (English): 1, 3, 6, 7, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 23, 25, 26, 27, 28