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