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