Task: Program Execution
Input (English): 3059 P 1015 d 7173 S 3927 6599 U o 6891 O D 5809 q 4623 m B g 9241 9969 P 4481 p X e
Output (English): 1, 3, 5, 7, 8, 11, 14, 16, 20, 21, 23