Task: Program Execution
Input (English): 4, ['6581', '8263', '4987', 'c', '3301', 'A', '8715', '3479', '2761']
Output (English): 6581, 3301, 2761