Task: Program Execution
Input (English): 3347 s 4123 i 6195 j h Q C 3165 1525 f 65 K i H 3767 W R 4327 3361 737 3189 7299 h g 2309 9027 6249 s 7387 X 7071 d y n q w 1307 Q
Output (English): 1, 3, 5, 10, 11, 13, 17, 20, 21, 22, 23, 24, 27, 28, 29, 31, 33, 39