Task: Program Execution
Input (English): 3, 7, ['4009', 'e', '6989', '9781', '9707', '9653', 'e']
Output (English): 6989, 9781, 9707, 9653, e