Retirement tax questions

I cancelled 3 cds and received an early withdrawal penalty.  Is this penalty subtracted from the interest amount?  How is it reported?