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