Task: Program Execution
Input (English): 1, 1, ['3565', '5707', '3199']
Output (English): 3565