Task: Program Execution
Input (English): 1, 1, ['973', '2419', '5311']
Output (English): 973