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