There are 22 animals in the barn. Some are geese and some are goats. There are 82 legs in all. How many of each animal are there? Please answer