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