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