Task: Program Execution
Input (English): 1, 1, ['1751', '5249']
Output (English): 1751