Task: Program Execution
Input (English): K 5379 K 3261 1037 K 8745 G J z 7321 H f 1319 4145 6837 M 7951 g c 3339 7325 5505 d T 6307 S 5523 7985 4667 461
Output (English): 1, 3, 6, 8, 9, 10, 12, 13, 17, 19, 20, 24, 25, 27