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