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:
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:
While traveling via bus to Hal's house in Peachtree County the group stop at a drug store, where Granny Ruth meets local sheriff Andrew Griffin while Duane, attempting to wriggle out a bus window, meets the sheriff's daughter Opal, who he tries to convince help him and Belial escape. Before Duane can talk to Opal any further, Granny Ruth returns and boards the bus and heads back on track to Hal's house, having sweet talked Sheriff Griffin into letting _her_ leave despite the bus being illegally parked. <sep>, Pronoun: her

Ex Output:
Granny Ruth


Ex Input:
On June 27, at the Battle of Mathias Point, Ward sent a landing party ashore to dislodge Southern forces from another battery at Mathias Point, in King George County, Virginia, but it encountered heavy resistance. The Federals gave up the attack and retired under heavy sniper and cannon fire to their ships. Ward brought his flotilla in close to the shoreline to provide gunfire support for the retreating landing party. As he was sighting the bow gun in _his_ flagship, Thomas Freeborn, Ward was struck by a bullet in his abdomen and fell to the deck, mortally wounded. <sep>, Pronoun: his

Ex Output:

Ward