Task: Sentence Ordering
Input (English): Sentence1: Buck was glad that the woman helped him. Sentence2: Then a woman approached him and told him about a shelter nearby. Sentence3: Buck, intrigued, went to the shelter right away. Sentence4: Buck had lost his house and job. Sentence5: Ashamed, he sat on the road to panhandle.
Output (English): 53412