If you owned a stock for approx 4 years and reinvested the dividends, and then sold it, do you need to put each cost basis of dividend reinvestment on the Schedule D or is it OK to use an average cost basis of all the div reinvestments? Thanks.