Task: Program Execution
Input (English): 5, ['1797', 'X', '8045', '5705', 'K', '4105', '4213', '2015', '4201', 'O', 'M']
Output (English): 4105, 4213, 2015, 4201, O, M