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