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