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