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