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