def remove_duplicate(string):
  from collections import OrderedDict
  
  result = ' '.join(OrderedDict((w,w) for w in string.split()).keys())
  return result
def similar_elements(test_tup1, test_tup2):
  
  res = tuple(set(test_tup1) & set(test_tup2))
  return (res) 