Task: Program Execution
Input (English): 1, 1, ['2471', '197']
Output (English): 2471