Mrs. Monstrous Millie wants to throw a party for a group of monsters and aliens. The monsters each have 5 heads with 7 ears on each head, and the aliens each have 5 heads with 3 ears on each head. As party favors, Mrs. Millie wants to give each guest a hat for each of their heads and an earring for each of their ears. If she has 36 hats and 68 earrings, how many aliens should she invite in order for all of the guests to use up all of her hats and earrings?