And line 17.
You didn't actually pay the tax or 10% penalty (you pay a 10% early withdrawal penalty if you are under 59 ½). You had taxes withheld like from your paycheck. You still have to enter the whole gross original amount (before taxes were withheld) with your other income to figure out the total tax (and it may put you into a higher tax bracket) and then the withholding is subtracted from the total tax to figure your refund or tax due. The gross amount shows up,on 1040 line 4a/4c and the taxable amount on 4b/4d. The withholding will show up on 1040 line 17.
It has to break out and show the 10% penalty separately on your return, (Schedule 2 line 6 which goes to 1040 line 15)
Then you get credit for all the withholding taken out on 1040 line 17.