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