A farmer has a total of 21 cows and chickens altogether The animals have 54 legs how many cows and how many chickens does the farmer have?