Given the task definition and input, reply with output. In this task, you're given the title of a five-sentence story and the first four sentences. Your job is to write the last sentence of the story such that it seamlessly connects with the rest of the story.

Title: Pineapple. Sentence 1: For art class, I had to make a painting of a pineapple. Sentence 2: I went to the store, and bought a nice green pineapple. Sentence 3: I started my painting as soon as I got home. Sentence 4: It took me 2 weeks to finish the painting.
By then, the pineapple had yellowed and parts were rotten.