I bought 50 shares of company ABC for $10 each. In 2017, the stock splited 2 for 1 and i sold all 100 stocks and at $8 per share. How to enter to Turbo Tax?

If I bought 50 shares of ABC for $10 each and the commision fee is $5.

The stock splited 2 for 1 so I had 100 shares (50x2=100).  I sold all 100 shares at $8 each and commission fee is also $5.

How should I enter this into Turbo tax for:

# of shares (50 before split or 100 after split and at the time of selling)?

Year Acq - assume 2016

Total Proceeds:  should it be $10x50+$5 = $505 or only $500 excluding the commission fee?

Total adjusted Cost base: should it be $8 x 100 + $5 = $805 or $8x100 + $5x2 = $810?