The sum of ten numbers is 2783.If one of the ten numbers is changed from 397 to 502,what is the new sum?