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