Task: Program Execution
Input (English): 8541 4097 G Y Q P 3659 1371 1473 r 6487 A O 7417 m 4085 3575 5657 1677 6357 8045 T 441 6905 7017 7207 4233 1169 H g 2187 7275 9 437 t E x O 8075 9151
Output (English): 1, 2, 7, 8, 9, 11, 14, 16, 17, 18, 19, 20, 21, 23, 24, 25, 26, 27, 28, 31, 32, 33, 34, 39, 40