Task: Program Execution
Input (English): 1831, 545, k, 5975, Q, 6421, A, h, 9831, i, X, 3289, r, o, y, 7673
Output (English): 1831, 545, 11, 5975, 17, 6421, 1, 8, 9831, 9, 24, 3289, 18, 15, 25, 7673