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