Task: Program Execution
Input (English): 2, 2, ['5109', '7495', '8643', '1521']
Output (English): 7495