Dow, S&P 500 Notch Third Straight Weekly Gains