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