Task: Program Execution
Input (English): n, 2659, 3615, i, 897, 8243, Z, Y, q, 8697, 1081, 1017
Output (English): 2, 3, 5, 6, 10, 11, 12