Task: Program Execution
Input (English): 8, 10, ['1003', '5775', '9983', 'z', '2323', 'b', 'B', '5149', '6805', 'O', 'M']
Output (English): O, 6805, 5149