There are 32 animals in a barn some are chickens and some are pigs. Altogether there are 84 legs how many chickens and pigs are there