U.S. economy returned to growth in third quarter despite surging inflation