In this task, you will be presented with a text and a pronoun. You should write the name that the pronoun refers to. Position of the pronoun in the text is showed within two "_"s.

Ex Input:
William Rees-Mogg was impressed with Douglas-Home's approach and made him foreign editor in 1978. He was a candidate for the editorship when Rupert Murdoch took over the paper in 1981, but Harold Evans was appointed instead. However a year later Murdoch and Evans had a spectacular falling-out over issues of editorial independence, and Douglas-Home was finally appointed. _He_edited The Times between 1982 and 1985. <sep>, Pronoun: He

Ex Output:
Douglas-Home


Ex Input:
She was reportedly used to an informal interaction with her ladies-in-waiting and felt restricted and bored with the simple family life and being isolated from society and found her strict and temperamental brother-in-law difficult to get along with. In May 1807, her sister, Queen Frederica, was leaving Malm* and returning to the court at Stockholm to give birth, and asked Marie to come with _her_, but her husband demanded her to return to Germany, which she did. <sep>, Pronoun: her

Ex Output:
Frederica


Ex Input:
***** ********) (born May 31, 1958) is an Indian politician and is the current MLA of Kottarakkara since May 2016. She has been the Member of Legislative Assembly from Kottarakkara constituency,Kollam for three consecutive terms since 2006. Daughter of Shri N. Vasudevan Potty and Smt. N.J.Parvathy Antharjanam, Aisha Potty is member of All India Lawyers Union National Council. _She_ is also the convener of State Women's Sub Committee. <sep>, Pronoun: She

Ex Output:

Aisha Potty