Task: Program Execution
Input (English): 2727, I, j, 1913, 8655, x, 2377, y, P, Q, 5263, S, u, C, E, u, w, B, 3329, 8895, J, 8311, w, M
Output (English): 2727, 9, 10, 1913, 8655, 24, 2377, 25, 16, 17, 5263, 19, 21, 3, 5, 21, 23, 2, 3329, 8895, 10, 8311, 23, 13