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