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