How major US stock indexes fared Wednesday, 10/18/2023