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