In this task, you're given a short story of five sentences written in natural language. However, the order of the given story is not correct. Your job is to return the correct order for the given five sentences to create a coherent short story with the new order that has the correct flow. Generate your answer using the number of sentences in the correct order, such as '23415'.

Input: Consider Input: Sentence1: John ended up having the most. Sentence2: John and Ed had a bet on who could get the most candy on Halloween. Sentence3: When they got back to the house they weighed their bags. Sentence4: They left John's house at the same time going in different directions. Sentence5: They had two hours to gather as much as they could.

Output: 51423

Input: Consider Input: Sentence1: Each dog took his turn running and jumping into the water. Sentence2: They set up a large outdoor pool with steps. Sentence3: The town hosted a dog diving contest. Sentence4: A good time was had by all, even the dogs. Sentence5: Many people came to watch and take pictures.

Output: 42153

Input: Consider Input: Sentence1: Zoey was happy that everyone liked her name now. Sentence2: She liked her name and wished people wouldn't be so mean. Sentence3: Zoey was taunted by her friends for having a strange name. Sentence4: A new show was made that had a main character named Zoey. Sentence5: Zoey's name suddenly became very cool to her peers.
Output: 52134