San Francisco Frontiers - US stocks end mostly up ahead of key inflation data