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