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