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