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