When entering proceeds from the sale of a second home, do I enter the gross proceeds from the 1099-S or the net proceeds from the settlement statement?

When entering proceeds from the sale of a second home, do I enter the gross proceeds from the 1099-S or the net proceeds from the settlement statement?