Task: Program Execution
Input (English): 5, 7, ['p', 'u', 'q', '9683', '7637', '8805', '7663', '2989', 'Y', '1351', 'B', 'V', 'u', '5017', '2827', '65', 'k', '6797', '4169']
Output (English): 7637, 8805, 7663