Task: Program Execution
Input (English): [6, 10, 5, 8, 9, 7] , [1, 1, 1, 2, 1, 3]
Output (English):