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