Five hundred dollars were used to buy one hundred animals of three types. The burros cost 11 dollars each, the camels cost 9 dollars each, and the dogs cost 2 dollars each. How many animals of each kind were there?

This is a problem from a linear equation section of a number theory class I am in, and it have had no success in solving it.