Ответ:

The possessive pronoun 'hers' is used when the noun 'pencils' is omitted and refers to something belonging to 'her'.
Answer: hers