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