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