Task: Program Execution
Input (English): 2831, N, X, 1349, K, j, 8271, v, o, z, r, W, 6837, q, 4813, G, k, R, 1255, 503
Output (English): 2831, 14, 24, 1349, 11, 10, 8271, 22, 15, 26, 18, 23, 6837, 17, 4813, 7, 11, 18, 1255, 503