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