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