AMC 12A 2006 Problem 14

Two farmers agree that pigs are worth \$ 300 and that goats are worth \$ 210. When one farmer owes the other money, he pays the debt in pigs or goats, with “change” received in the form of goats or pigs as necessary. (For example, a \$ 390 debt could be paid with two pigs, with one goat received in change.) What is the amount of the smallest positive debt that can be resolved in this way?

Answer Choices
A. \$ 5
B. \$ 10
C. \$ 30
D. \$ 90
E. \$ 210