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