def remove_duplicate(string):
  from collections import OrderedDict
  
  result = ' '.join(OrderedDict((w,w) for w in string.split()).keys())
  return result
def remove_duplicate(string):
    from collections import OrderedDict
   
    result = " ".join(OrderedDict((w, w) for w in string.split()).keys())
    return result