A farm has chickens and cows. All the cows have 4 legs and all the chickens have 2 legs.
All together, there are 82 cow and chicken legs on the farm.
If there are 10 cows, how many chickens are there?