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