Task: Program Execution
Input (English): 3, 3, ['9773', '6427', '2889', '1697']
Output (English): 2889