Task: Program Execution
Input (English): W, L, 9849, 4795, k, r, 8153, 8389, 9325, J, K, V, 6599, 8677, R, 5815, 2357, V, j, 4865, i
Output (English): 23, 12, 9849, 4795, 11, 18, 8153, 8389, 9325, 10, 11, 22, 6599, 8677, 18, 5815, 2357, 22, 10, 4865, 9