Task: Program Execution
Input (English): I G 2607 o 3463 4843 1661 5505 3795 213 413 M K 7401 b 9323 3905 9765 6193 x 7297 a n g 521 l X 4103 M 8583 p b G Q 7417 4005 M R
Output (English): 9, 7, 2607, 15, 3463, 4843, 1661, 5505, 3795, 213, 413, 13, 11, 7401, 2, 9323, 3905, 9765, 6193, 24, 7297, 1, 14, 7, 521, 12, 24, 4103, 13, 8583, 16, 2, 7, 17, 7417, 4005, 13, 18