Task: Program Execution
Input (English): 2, 2, ['1745', '8177']
Output (English): 7718