After it is purchased, the value of a new car decreases $4000 each year. After 3 years, the car is worth $18,000. What was the original value of the car?