Given the task definition and input, reply with output. 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.

Sentence1: Joe was having a good day at school. Sentence2: He got good grades on all of his quizzes. Sentence3: But he still had one more class left. Sentence4: He was devastated when he failed the quiz.

And his last class was all he could think about.