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