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