Task: Program Execution
Input (English): 7845 3981 w q l 2521 355 945 Y 4349 7847 p g 5327 9451 B 4275 2873 c y 6411 H S 6691 w H 9213
Output (English): 1, 2, 6, 7, 8, 10, 11, 14, 15, 17, 18, 21, 24, 27