Task: Program Execution
Input (English): j I 3247 M 9181 3459 g d X 8441 6991 4257 6523 9347 3905 z y Z Y s m 4521 8055 G z 1817
Output (English): 10, 9, 3247, 13, 9181, 3459, 7, 4, 24, 8441, 6991, 4257, 6523, 9347, 3905, 26, 25, 26, 25, 19, 13, 4521, 8055, 7, 26, 1817