Wall Street ends slightly up ahead of inflation data