A farmer had d animals, all of which the farmer bought for the same price. The farmer decided to sell the animals. 14 of the animals were sold at a profit of 10% each while the rest were sold at a loss of 20% each. Overall, the farmer made neither a profit nor a loss. Which of the following is equal to d?	Choose the correct choice from the following options.
A) 21  B) 24  C) 27  D) 33  E) 36
Let P be the price the farmer paid for each animal.   The total profit on the 14 animals is 14*0.1*P.   The total loss on the other (d-14) animals is (d-14)*0.2*P.   (d-14)*0.2*P = 14*0.1*P   0.2*d = 1.4 + 2.8   d = 21   The answer is 21.
<result>A</result>
A farmer had d animals, all of which the farmer bought for the same price. The farmer decided to sell the animals. 14 of the animals were sold at a profit of 10% each while the rest were sold at a loss of 20% each. Overall, the farmer made neither a profit nor a loss. Which of the following is equal to d?