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