Task: Program Execution
Input (English): q n s G 3321 W 4387 x v 2135 S 3313 439 1997 6747 1315 T 6299 8355 4191 3405 2291 j o X P 7525 X 8601 p 9899 F p 5981 f 6167 9505
Output (English): 17, 14, 19, 7, 3321, 23, 4387, 24, 22, 2135, 19, 3313, 439, 1997, 6747, 1315, 20, 6299, 8355, 4191, 3405, 2291, 10, 15, 24, 16, 7525, 24, 8601, 16, 9899, 6, 16, 5981, 6, 6167, 9505