Task: Program Execution
Input (English): 8, 10, ['1003', 'M', 'e', 't', 'n', '3475', 'v', '4831', '9071', 'M', 'j', '9825']
Output (English): 4831, 9071, M