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