Task: Program Execution
Input (English): 5, 9, ['1497', '5935', 'a', '3403', '2341', '8585', '7765', '217', '9375', 'H', '3997', 'b', '6943', 'Q', '8865']
Output (English): 9375, 217, 7765, 8585, 2341