Task: Program Execution
Input (English): Q, 6423, n, q, 5945, E, 1665, 35, R, 7685, 1975, 1819, k, w, V
Output (English): 17, 6423, 14, 17, 5945, 5, 1665, 35, 18, 7685, 1975, 1819, 11, 23, 22