There are Chickens and Pigs in a Barnyard. The Farmer counts 54 heads and 144 feet. How many Chickens and Pigs are in the Barnyard?