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