Brilliant idea!

Do you deduct short term and long term capital gains taxes?