A farmhouse shelters 8 animals. Some are sheep and some are geese. Altogether there are 20 legs. How many of each animal are there?