This program searches a sentence, read from a user keyboard input, and returns the first repeated word.