karen, who is single, paid $150,000 for her residence in january 2016 and lived in it until january 2020. she then moved away and rented her home from february 2020 until she sold it in august 2021 for $240,000. while it was rental property, she deducted $20,000 of depreciation. what amount of gain on the sale of her residence is excludable from income?