NEW YORK (AP) — U.S. stock indexes ended mixed after drifting between small losses and gains.