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