Gain or profit realized on sale, satisfaction, or transfer, not a leasing or a letting, of property referred to in this section shall be credited to the income in an amount up to, but not exceeding, the accrued unpaid interest on the original obligation secured by such property as of the date of its acquisition by enforcement of the obligation or agreement in lieu thereof, and the balance shall be