Can I deduct realtor fees from the sell of my 2nd home?

I rcvd a Form 1099-S for the selling price of $309,000.  If I can deduct the realtor fees paid to sell my 2nd home,  do I just subtract the realtor fees from the 309K and enter the adjusted amount on the  Net Proceeds line in Turbo Tax?   Just concerned because it would not match the Form - 1099-S showing the amount of $309,000