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