Task: Sentence Ordering
Input (English): Sentence1: He was sad that he couldn't eat because he had no money. Sentence2: He decided to write a book about his hard life. Sentence3: The profits from the book sales gave Bob enough money to eat. Sentence4: People immediately praised the book and bought thousands of copies! Sentence5: Bob needed money to buy food.
Output (English): 23541