Task: Program Execution
Input (English): 6587, 3905, j, 6245, 2463, 8517, O, B, 9815, 9281, X, 4009, 8827, n, V, U, m, 4167, 1833
Output (English): 6587, 3905, 10, 6245, 2463, 8517, 15, 2, 9815, 9281, 24, 4009, 8827, 14, 22, 21, 13, 4167, 1833