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