Task: Program Execution
Input (English): 3, ['6011', '5887', '4377', '1751', 'm', '945', '4549', '9477', '9541', 'i', '3811', 'Q', '5873']
Output (English): 6011, 5887, 4377