A farmer owns chickens and sheep. In total, his animals have 54 eyes and 74 legs. (All of his animals have the expected number of body parts.) How manhy of each animal does he have?