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:
On the morning of _her_ disappearance, Alison stayed with Ian in Hilton Head but later found videos of Jenna and Toby and later fled after witnessing an argument between him and Melissa before she visited Jenna who she thought was her tormentor and threatened her. <sep>, Pronoun: her

Ex Output:
Alison


Ex Input:
The Kr*ger story was that in 1917, as the Russian revolution unfolded Emperor Nicholas II of Russia summoned Pyotr Ivanovich Zamyatin, a soldier serving as a cavalry assistant in a squadron guarding the Russian Imperial Family, and in the presence of the Minister of War and a priest _he_instructed the soldier to take Grand Duchess Anastasia and Tsarevich Alexis into hiding while the two Imperial children were replaced by doppelgangers. <sep>, Pronoun: he

Ex Output:

Nicholas II of Russia