Ray bought a new sports car even though the day after he purchased it, the car lost 25% of its value. Months later, the Center for Auto Safety reported that Ray's car had a defect, lowering the car's value another 50% (from the new lower price). If Ray's car is now worth $18,750, how much did he pay for it?