Points A and B are separated by a lake. To find the distance between them, a surveyor locates a point C on land such that CAB = 48.6°. He also measures CA as 310 ft and CB as 527 ft. Find the distance between A and B. Round your answer to the nearest foot. (Note: ABC is an acute angle.)