Task: Program Execution
Input (English): 2, 3, ['7903', '2879', 'q', '5337', '6763']
Output (English): 2879