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