Task: Program Execution
Input (English): 2519, 3909, a, D, 4429, N, 2511, 9803, O, 8793, 4221, I, i, J, O, 6517, V, M, w, 1197, 2169, 5097, U, Q
Output (English): 2519, 3909, 1, 4, 4429, 14, 2511, 9803, 15, 8793, 4221, 9, 9, 10, 15, 6517, 22, 13, 23, 1197, 2169, 5097, 21, 17