def sorted_dict(dict1):
  
  sorted_dict = {x: sorted(y) for x, y in dict1.items()}
  return sorted_dict
def similar_elements(test_tup1, test_tup2):
  
  res = tuple(set(test_tup1) & set(test_tup2))
  return (res) 