Task: Program Execution
Input (English): 3, 3, ['6183', '4393', '5439', '1497', '3225']
Output (English): 5439