Investors & landlords

assuming if I have $50000 carryover capital loss, this year (in 2016) I have short term capital gain of $70,000 gains, can I write off all of $50,000 capital loss?  If not, what is the best way to off set $50,000?  Thanks