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