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