You will be given a definition of a task first, then some input of the task.
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.

Amit and his wife Megan travel to his high school alma mater Langford for Pam's wedding. Pam, the daughter of the headmaster of Langford, and Amit were close despite never having a formal relationship with each other. Both Amit and Megan are insecure the night of the wedding; Amit mainly for mistaking _his_ former classmate ``Ted'' for ``Tim,'' and Megan mainly because there is a small burn on her skirt. <sep>, Pronoun: his <sep>, A: Ted <sep>, B: Tim
Output:
Neither