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