def sort_counter(dict1):
 from collections import Counter
 
 x = Counter(dict1)
 sort_counter=x.most_common()
 return sort_counter
def similar_elements(test_tup1, test_tup2):
  
  res = tuple(set(test_tup1) & set(test_tup2))
  return (res) 