Madame Dubois bought 20 pearl necklaces for $500. Becoming bored quickly, she sold 3/4 of them at $40 each. She sold the rest at cost price. How much money did she make?