A farm raises cows and chickens. The farm has total of 43 animals. One day he counts the legs of all his animals and realizes he has a total of 122. How many cows and chickens does he have?