Task: Program Execution
Input (English): 5, ['9877', '7183', '461', '9075', '3749', '4441', 'G', 'h', '2569', '1291']
Output (English): 9877, 7183, 461, 9075, 3749