There are 11 animals in a barnyard . Some are chickens and some are cows . There are 38 legs in all . How many chickens and cows are in the barnyard?