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