Task: Program Execution
Input (English): A c 1387 J o u 9577 S 6881 V 3379 3717 5707 8549 A x 7119 2313 5227 g 3833 1541 a k 1711 t 8527 2179 8463
Output (English): 1, 3, 1387, 10, 15, 21, 9577, 19, 6881, 22, 3379, 3717, 5707, 8549, 1, 24, 7119, 2313, 5227, 7, 3833, 1541, 1, 11, 1711, 20, 8527, 2179, 8463