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