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