Task: Program Execution
Input (English): 3, 5, ['1805', 'Q', '2653', '7059', 'a', '1659', 'N', '6439']
Output (English): 2653, 7059, a