remove duplicates form sorted list I & II