A farmer has 8 cows and 10 chickens. The farmer counts all the cow and chicken legs. How many legs are there all together?

There are 52 legs all together.