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:
Ahmedabad was then reoccupied by the Muzaffarid dynasty until 1573 when Gujarat was conquered by the Mughal emperor Akbar. During the Mughal reign, Ahmedabad became one of the Empire's thriving centres of trade, mainly in textiles, which were exported as far as Europe. The Mughal ruler Shahjahan spent the prime of _his_ life in the city, sponsoring the construction of the Moti Shahi Mahal in Shahibaug. <sep>, Pronoun: his

Ex Output:
Shahjahan

Ex Input:
Eventually the soothsayer Calchas met up with the queen telling her that she must return to Lemnos, escorted by a Warrior Queen, so that a lesson could be learned. Antiope and a group of Amazons agreed to escort the former Queen in order to discover what truth would be revealed for Antiope as well. _Her_ sister Hippolyta returned to Themyscira. <sep>, Pronoun: Her

Ex Output:
Antiope

Ex Input:
Alice married twice; by her second husband, Aymer Taillefer, Count of Angoul*me, she was the mother of Isabella of Angoul*me, who was Queen consort of England, as the wife of King John. She is also known as Alix de Courtenay. Alice was born in 1160, the second eldest daughter and one of the ten children of Peter I of Courtenay and Elisabeth of Courtenay, daughter of Renauld de Courtenay and Hawise du Donjon. _Her_ family was one of the most illustrious in France; and her paternal grandparents were King Louis VI of France and Ad*laide de Maurienne. <sep>, Pronoun: Her

Ex Output:
Alice