Ann is interested in purchasing Ted's factory. Since Ann is a poor negotiator, she hires Mary to negotiate the purchase price. Identify the parties to this transaction.

a) Mary is the principal and Ann is the agent.
b) Ted is the principal and Ann is the agent.
c) Mary is the agent while Ted and Ann together are principals.
d) Ann is the principal and Mary is the agent.