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