Task: Program Execution
Input (English): 2, 7, ['7577', '8305', '5425', '4441', '9581', '4367', 'g', '5507', '7495', 'e', 'Q', '2835', 'V', 'U', '7997', '4827', '3921']
Output (English): 8305, 7495, 4827