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