Task: Program Execution
Input (English): 2, 2, ['3791', '1939', '4091']
Output (English): 1939