Task: Text Completion
Input (English): Sentence1: It was halfway through the semester, and John was failing his classes. Sentence2: He decided to go to the library and study. Sentence3: At the library, John saw one of his professors. Sentence4: John pretended not to see him, and started studying.
Output (English): The professor walked past and said that he was glad to see John trying