Wall Street ends higher on gains by most megacaps | REUTERS