1099B

I had to sell 165 stocks that I inherited to satisfy an inheritance to my niece.  Is there an easier way to enter "I inherited it" instead of entering it 165 times to each individual stock.