Deductions & credits

Sold a rental  for 9800.    Paid 80000 in2007,  where can I deduct mortgage payoff of $50000?  Is a sales expense?