Total number of guppies and frogs is 51. Total number of frogs and puppies is 17. Total number of puppies and guppies is 58. How many of each animal is there?