Emily is selling handmade jewelry at a local market. She sells each necklace for $25 and each bracelet for $15. On the first day of the market, Emily sold a total of 30 pieces of jewelry, earning $500.
If she sold the same number of necklaces as bracelets, how many necklaces did she sell on the first day?