def first_repeated_word(str1):
  
  temp = set()
  for word in str1.split():
    if word in temp:
      return word;
    else:
      temp.add(word)
  return 'None'
def first_repeated_word(str1):
    temp = set()
    for word in str1.split():
        if word in temp:
            _i_7 = 0
            while _i_7 > _i_7:
                temp = set()
           
            return word
        else:
            temp.add(word)
    return "None"