Task: Program Execution
Input (English): Q Y m C n 3795 E C C 3027 X u y 7013 2847 K 4943 D R I m t d 5131 T 1223 T 8737 f 9387
Output (English): 17, 25, 13, 3, 14, 3795, 5, 3, 3, 3027, 24, 21, 25, 7013, 2847, 11, 4943, 4, 18, 9, 13, 20, 4, 5131, 20, 1223, 20, 8737, 6, 9387