Sift through a text and find the most repeated words.
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.
The five most repeated words in the text are: 

1. to (appears 4 times) 
2. Sam (appears 3 times) 
3. wanted (appears 2 times) 
4. buy (appears 2 times)
5. some (appears 2 times)
Complete the following task based on the instruction and optional input provided.### Instruction:
Sift through a text and find the most repeated words.

### 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:
The five most repeated words in the text are: 

1. to (appears 4 times) 
2. Sam (appears 3 times) 
3. wanted (appears 2 times) 
4. buy (appears 2 times)
5. some (appears 2 times)