Get your taxes done using TurboTax

I have the similar situation,  but I did not have a gain. I had a loss. I invested 7,000 in my ira in 2021 and was not eligible. I removed the distribution this year 2022. After my loss, I received $6700. Is the gross distribution still 7000 in box one? Or is it 6700? Do I put a negative number in box 2a for loss or zero?  Also, do I use both codes 8 and J or just 8? Thanks.