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