Input (grade 12): However, Pippi Longstocking, one of her most famous characters, was invented to please her daughter Karin, who was, at the time, ill and bed-ridden.
Output (grade 11): However, Pippi Longstocking, her most famous character, was invented for her daughter Karin, who was, at the time, ill and had to stay in the bed.