Task: Program Execution
Input (English): 2, ['7311', '1555', 'M', '3485', '3967', 'q', 't', '4443', '4989']
Output (English): 7311, 1555