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