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