Task: Program Execution
Input (English): N, 8321, 9943, n, V, 5687, n, R, 4787, I, 2385, 7819, 3633, 7467, p, L, 6053
Output (English): 1, 4, 5, 7, 8, 10, 15, 16