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