In Sam’s pet corner, there are puppies and parrots. They have the total of 15 heads and 50 feet. How many parrots and how many puppies are there?