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