leg riddles

people have 2 legs
cats have 4 legs
spiders have 8 legs

30 legs in a house all of them belong to all animals. How many animals and people are in the house