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