Task: Program Execution
Input (English): 4, 4, ['7111', '4029', '3197', '2719', '1643']
Output (English): 2719