Task: Program Execution
Input (English): S L W 4217 3285 7945 q H G K 9475 K 7215 2605 r 1327 x 8843 8585 p b 6213 2739 y t 7763 p w q X K 8259 7297 8071 a
Output (English): 19, 12, 23, 4217, 3285, 7945, 17, 8, 7, 11, 9475, 11, 7215, 2605, 18, 1327, 24, 8843, 8585, 16, 2, 6213, 2739, 25, 20, 7763, 16, 23, 17, 24, 11, 8259, 7297, 8071, 1