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