Task: Program Execution
Input (English): 5, ['3543', '9301', '7075', '6339', 'M', 'f', 'F', '9381', '875', 'm']
Output (English): 3543, 9301, 7075, 6339, M