Task: Program Execution
Input (English): W 5811 N g 4433 P 9877 119 A 7603 3931 m 9765 781 7609 6885 3615 c 4943 4691 4857 4223 w J U R C
Output (English): 2, 5, 7, 8, 10, 11, 13, 14, 15, 16, 17, 19, 20, 21, 22