Task: Program Execution
Input (English): 9873 h e d w W 6923 3755 a 2497 9497 G 2667 5571 4451 j 2787 G z 217 589 k 3821 T Y c 9319 5285 W 5181
Output (English): 9873, 8, 5, 4, 23, 23, 6923, 3755, 1, 2497, 9497, 7, 2667, 5571, 4451, 10, 2787, 7, 26, 217, 589, 11, 3821, 20, 25, 3, 9319, 5285, 23, 5181