Task: Program Execution
Input (English): 1, 1, ['1335', '2779', '9727']
Output (English): 1335