def match_num(string):
    import re
    
    text = re.compile(r"^5")
    if text.match(string):
        return True
    else:
        return False
def similar_elements(test_tup1, test_tup2):
  
  res = tuple(set(test_tup1) & set(test_tup2))
  return (res) 