Task: Program Execution
Input (English): 2, ['9677', '7443', 'm', '4019', 'M', '9151', 'V', 'P', '9847', '8819', '81', '1817', '8327']
Output (English): 9677, 7443