You will be given a definition of a task first, then some input of the task.
In this task, you will be presented with a text, a pronoun from the text, and two candidate names. You should determine what the pronoun refers to and classify the answers into A, B, or Neither. A and B here are referring to option A and option B. Position of the pronoun in the text is showed within two "_"s.

Theresa, her brother Sancho and sister Urraca were the only children of Afonso and Matilda to survive to adulthood. Named after _her_ paternal grandmother, Countess Theresa, she was reputedly King Afonso I's favourite. <sep>, Pronoun: her <sep>, A: Matilda <sep>, B: Countess Theresa
Output:
A