Task: Program Execution
Input (English): 3, ['7065', '2161', 'q', '8743', 'y', 'z']
Output (English): 8743, y, z