Task: Program Execution
Input (English): S 4059 K 3453 1225 1457 t 8863 h F 4449 7499 K 2397 9719 6165 5595 7883 O d 2385 A S 6785 p c o 5175 2073 971 6901 M x S 2833 5071 G
Output (English): 1, 3, 7, 9, 10, 13, 19, 20, 22, 23, 25, 26, 27, 32, 33, 34, 37