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