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