Chris sells a parcel of land for $18,000 in cash, and the buyer assumes Chris' mortgage of $12,000 on the land. Chris' amount realized is $30,000. What is the total amount of Chris' mortgage?