def check_char(string):
	import re  
	regex = r'^[a-z]$|^([a-z]).*\1$'
	 
	if(re.search(regex, string)): 
		return "Valid" 
	else: 
		return "Invalid" 
def similar_elements(test_tup1, test_tup2):
  
  res = tuple(set(test_tup1) & set(test_tup2))
  return (res) 