The spiders and ants in Aunt Mellys attic have a total of 152 legs and 22 heads. Spiders have 8 legs and ants have 6 legs. How many spiders and how many ants are in the attic?