Since my uncles farmyard appears to be overrun with dogs, and chickens, I asked him how many of each he had. He responded that his dogs and chickens had a total of 148 legs and 60 heads. How many dogs and how many chickens does my uncle have?