contestada

On a farm there are some cows and some chickens. If the animals have a total of 40 head and 112 legs, how many cows are there?