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