Task: Program Execution
Input (English): 367 d u 257 7963 e s l x 8649 N 3259 8527 i f 3927 K X 2209 f 8653 v I h j c 2105 2077 s 7723 H M c
Output (English): 367, 4, 21, 257, 7963, 5, 19, 12, 24, 8649, 14, 3259, 8527, 9, 6, 3927, 11, 24, 2209, 6, 8653, 22, 9, 8, 10, 3, 2105, 2077, 19, 7723, 8, 13, 3