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