Create Remove Duplicates from Sorted List Total(diff:1,freq:3)