Task: Program Execution
Input (English): n, E, 3403, 2337, 6787, r, 6547, 5667, q, m, 8469, 2741, 7165, Z, 8887, j, f, 6511, P
Output (English): 1, 2, 6, 9, 10, 14, 16, 17, 19