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