I have an S Corp. I use 1120S. My S Corp has an investment. That investment paid qualified dividends to the S Corp in 2017. Where do those dividends get reported?

This is a very small S Corp that has been in existence since the late 1980's.  TurboTax seems to think it was originally a C Corp but it has always been an S Corp.  The S Corp invested into some stock.  The stock paid qualified dividends in 2017.  How does that get treated on the 2017 1120s?