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