there are 13 animals in a barn. some are pigs and some are chickens. there are 40 legs on all. how many of each animal are there​