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