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