def replace_list(list1,list2):
 
 list1[-1:] = list2
 replace_list=list1
 return replace_list
def similar_elements(test_tup1, test_tup2):
  
  res = tuple(set(test_tup1) & set(test_tup2))
  return (res) 