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