Task: Program Execution
Input (English): 1, 1, ['6415', '939', '9249', '2037']
Output (English): 5146