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