sale of s corp

how do i show a deduction of inventory and unused depreciation