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