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.

Example Input: He took a prominent part in educational matters. Arthur Robert Oliver resigned from the Waimea electorate in 1867 and triggered a by-election. On nomination day on 24 June 1867, three candidates were put forward: John Kelling (who had already represented the Waimea electorate in Parliament), Joseph Shephard, and Edward Baigent. The latter informed the voters that _he_did not think himself qualified to represent them in Parliament, but he would ``at least give them an honest vote'' (in the House). <sep>, Pronoun: he
Example Output: Edward Baigent

Example Input: His partner, Sonya was a flight attendant on Flight 815. Sonya was a flight attendant on Flight 815 and Sam's girlfriend. Oscar Talbot is a mysterious man who runs the Christiane I expedition. David Massingham and Tracey R are friends of Sam Thomas that gather information for _him_. <sep>, Pronoun: him
Example Output: Sam Thomas

Example Input: He was promoted by Braxton Bragg to the rank of major and given command of the reserve artillery battalion of the Army of Tennessee, which he led at Chickamauga in September 1863. Robertson was subsequently promoted to lieutenant colonel and reassigned to command the Confederate horse artillery under Joseph Wheeler. _He_participated in the 1864 Atlanta Campaign. <sep>, Pronoun: He
Example Output:
Robertson