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