Icon
 

Total number of legs in a herd of goats and hens is 40