Kavitha wanted to buy a laptop. She saved 1/3 of the cost of the laptop in the first month. In the second month,she saved $125 less than what she saved in the first month. She saved the remaining $525 in the third month. How much did the tattoo cost?