In this task, you're given a four sentences of story written in natural language. Your job is to complete end part of the story by predicting appropriate last sentence which is coherent with the given sentences.

Q: Sentence1: Allison decided she wanted to learn more about her area's history. Sentence2: She went down to the library to check out a book on it. Sentence3: She went inside and couldn't understand how the books were sorted. Sentence4: She found a librarian who explained the dewey decimal system.

A: That helped her find what she wanted.
****
Q: Sentence1: Amy was driving to school when her car stopped. Sentence2: She called her dad. Sentence3: He came and informed her the fuel pump was out. Sentence4: They called a tow truck to tow the car home.

A: Amy then had to walk to school.
****
Q: Sentence1: Jan's lamp broke. Sentence2: Jan decided to get a new lamp. Sentence3: He went to the store. Sentence4: He found a lamp he liked.

A:
He bought the lamp.
****