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:
Heir of both the Kingdom of Bohemia and the Kingdom of Hungary, he remained under the tutelage of his Leopoldian cousin Frederick V, who in 1440 had been elected King of the Romans upon Albert's death. Ladislaus' claims to Hungary were acknowledged after King W*adys*aw had been killed in the 1444 Battle of Varna, however, _he_became the real ruler only after the death of regent John Hunyadi in 1456. <sep>, Pronoun: he

Ex Output:
Ladislaus


Ex Input:
Antonio di Filippo di Lorenzo Niccolini (Florence, 1701--1769) was an Italian abbot, jurist and scholar, who was considered one of the leading figures of eighteenth-century Tuscany. _He_was born into a noble Florentine family, the youngest child of Filippo, third Marquess of Ponsacco and Camugliano, and was a relative of the Pope. <sep>, Pronoun: He

Ex Output:
Antonio di Filippo di Lorenzo Niccolini


Ex Input:
Foote taught at Hartford Female Seminary as a young woman. In 1863, she and her sister Harriet went to South Carolina and Florida with the New England Freedmen's Aid Society, to teach former slaves during the American Civil War. In 1872 she spent a year in Europe. When _her_ sister Harriet died in 1886, Foote took over her position as president of the Women's National Indian Association from 1886 to 1895, traveling in the American west and advocating for the establishment of Indian schools and hospitals. <sep>, Pronoun: her

Ex Output:

Foote