Carol sold her investment property for $450,000 and had $21,000 in closing costs. The property had a beginning basis of $312,000, capital improvements of $34,000, and depreciation of $80,000. What was Carol's capital gain?