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