contestada

There are 23 animals in the barn. Some are chickens some are goats. There are 80 legs in all. How many of each animal is there?