How do I allocate the gross proceeds from a rental condo sale between building and land ? TT Business asks amount received for " this building " : " this land ".

I received a form 1099-S that gives the Gross Proceeds in Block 2.  I need to know how to allocate this between building and land.