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