Task: Program Execution
Input (English): 7, ['5445', 'x', '4559', '7111', 'Z', '7019', '2899', '5225', '8525', '1793', 'J', 'M', '4523', 'B', '3187', 'O', 'V', '1743']
Output (English): 5445, 5225, 3187