In this task, you will be presented with a text, a pronoun from the text, and two candidate names. You should determine what the pronoun refers to and classify the answers into A, B, or Neither. A and B here are referring to option A and option B. Position of the pronoun in the text is showed within two "_"s.
Q: He was first elected to Parliament in the 1975 elections as MP for Otago, defeating the newly elected Ian Quigley of the Labour Party. In 1978, he was appointed to his first ministerial roles, most notably Minister of Tourism. When Brian Talboys retired from Parliament in 1981, Cooper was appointed to replace _him_ as Minister of Foreign Affairs -- he held this position until the government of Robert Muldoon was defeated in 1984. <sep>, Pronoun: him <sep>, A: Brian Talboys <sep>, B: Cooper
A:
A