def merge_dictionaries_three(dict1,dict2, dict3):
    import collections as ct
    
    merged_dict = dict(ct.ChainMap({},dict1,dict2,dict3))
    return merged_dict
def similar_elements(test_tup1, test_tup2):
  
  res = tuple(set(test_tup1) & set(test_tup2))
  return (res) 