Originally posted by luskin
Achmed and Ali are camel-drivers and on one day they decided to quit their job. They wanted to become shepherds. So they went to the market and sold all their camels. The amount of money(dinars) they received for each camel is the same as the total number of camels they owned. For that money they bought as many sheep as possible at 10 dinars a sheep. For the ...[text shortened]... u one of my dogs and then we are even". And Achmed agreed.
What the cost of a dog?
In order for there to be an odd number of sheep purchased, the number of camels sold must end in either 4 or 6. In both cases, the amount of money leftover after purchasing said sheep is always 6 dinars. This is the price of a goat. Once the camel-drivers split up the sheep and goat, there is a discrepancy of 4 dinars between them. Therefore, the price of a dog must be half that amount, or 2 dinars.