Task: Program Execution
Input (English): 1, 1, ['1009', '9985']
Output (English): 1009