First task, remove duplicates that appear only once