A rescue shelter has a total of 30 occupants. The number of legs at the shelter totals 96 legs. There are spiders and frogs at this shelter. How many spiders and how many frogs are at the shelter?