I have a list of elements I want to store that elements in the list which occur only twice not more than twice or less than twice.Below is the list
list = [59