U.S. stocks finished 2016 with a thud on Friday after all three major indexes ended the year with three straight days of losses for the first time since Nov. 4.

The Dow, S&P 500 and NASDAQ Composite all finished the year higher, however.