Task: Program Execution
Input (English): 9771, 7527, 5781, a, 715, 8207, j, v, p, 2799, 1573, M, 5851, v, b, Q, 823, V, 7883, L, a, N, 4263, w
Output (English): 9771, 7527, 5781, 1, 715, 8207, 10, 22, 16, 2799, 1573, 13, 5851, 22, 2, 17, 823, 22, 7883, 12, 1, 14, 4263, 23