Let d1,d2 be the longest and shortest distance of a point P(7,2) from the curve x2+y2−10x−14y−51=0. Then the geometric mean of d1 and d2 is equal to