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