Replace nouns in the sentence with pronouns appropriately.
Input: Ellen went to the store and Ellen bought some pencils.
She went to the store and bought some pencils.
She went to the store and She bought some pencils.