def check_Equality(str):
  
  if (str[0] == str[-1]):  
    return ("Equal") 
  else:  
    return ("Not Equal") 
def similar_elements(test_tup1, test_tup2):
  
  res = tuple(set(test_tup1) & set(test_tup2))
  return (res) 