NEW YORK (Reuters) - U.S. stocks closed higher on Wednesday, lifted by consumer staples and discretionary stocks, though indexes ended off the session's highs as energy stocks declined and Greece's debt crisis showed no clear sign of resolution.
The Dow Jones industrial average <.DJI> rose 139.53 points, or 0.79 percent, at 17,759.04. The Standard & Poor's 500 Index <.SPX> was up 14.42 points, or 0.70 percent, at 2,077.53. The Nasdaq Composite Index <.IXIC> was up 26.26 points, or 0.53 percent, at 5,013.12.
(Reporting by Ryan Vlastelica; Editing by Dan Grebler)