user
Sift through a text and find the most repeated words.

Now complete the following instance -
Input: John went to the store with his friend Sam to buy some groceries. Sam had purchased some apples and oranges and wanted to try a different type of fruit. He wanted to buy a mango, but John warned him against it.
Output:
assistant
The most repeated words in the text are "John", "Sam", "buy" and "some".