Princess Daphne bought three necklaces and a set of earrings for a total of $240,000. If all three necklaces were equal in price, and the earrings were three times as expensive as any one necklace, then how expensive was the cost of a single necklace?