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