Remove Duplicate from Sorted elements