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