Task: Sentence Ordering
Input (English): Sentence1: Everyone danced and had fun! Sentence2: Pam was a good hostess. Sentence3: Everyone bought gifts. Sentence4: Pam's house was where the party was. Sentence5: Pam bought a cake.
Output (English): 45213