Task: Program Execution
Input (English): h 3047 x 223 g 8527 p 1587 w S 5061 8299 L 6469 2289 V 9259 8659 7315 x U 5937 B 8857 7175
Output (English): 1, 3, 5, 7, 9, 10, 13, 16, 20, 21, 23