Task: Program Execution
Input (English): 5831, 7889, W, 4657, 85, c, k, 773, M, 3665, 2989, 9475, B, 6253, e, K, O, 5785
Output (English): 5831, 7889, 23, 4657, 85, 3, 11, 773, 13, 3665, 2989, 9475, 2, 6253, 5, 11, 15, 5785