A. B. Rains worked as a broker for the Joseph Denunzio Fruit Co. Raymond Crane offered to sell Rains nine carloads of emperor grapes. Rains accepted the offer on behalf of Denunzio. Later, Rains and Denunzio discovered that Crane was an agent for John Kazanjian. Who is liable on this contract?