Problem: The Olympic Games in Bercouver are in full swing now. Here everyone has their own objectives: sportsmen compete for medals, and sport commentators compete for more convenient positions to give a running commentary. Today the main sport events take place at three round stadiums, and the commentator's objective is to choose the best point of observation, that is to say the point from where all the three stadiums can be observed. As all the sport competitions are of the same importance, the stadiums should be observed at the same angle. If the number of points meeting the conditions is more than one, the point with the maximum angle of observation is prefered. 

Would you, please, help the famous Berland commentator G. Berniev to find the best point of observation. It should be noted, that the stadiums do not hide each other, the commentator can easily see one stadium through the other.

Input

The input data consists of three lines, each of them describes the position of one stadium. The lines have the format x, y, r, where (x, y) are the coordinates of the stadium's center ( - 103 ≤ x, y ≤ 103), and r (1 ≤ r ≤ 103) is its radius. All the numbers in the input data are integer, stadiums do not have common points, and their centers are not on the same line. 

Output

Print the coordinates of the required point with five digits after the decimal point. If there is no answer meeting the conditions, the program shouldn't print anything. The output data should be left blank.

Examples

Input

0 0 10
60 0 10
30 30 10


Output

30.00000 0.00000

Solution (in PYTHON):

Solution:
x,y,r = [],[],[]
for _ in xrange(3):
    xt,yt,rt = map(float,raw_input().split())
    x.append(xt)
    y.append(yt)
    r.append(rt)

def run(minx,miny,maxx,maxy,step):
    retx = 0
    rety = 0
    dif = 99999999.0
    xx = minx
    while xx < maxx:
        yy = miny
        while yy < maxy:
            m1 = ((xx-x[0])**2 + (yy-y[0])**2)/r[0]**2
            m2 = ((xx-x[1])**2 + (yy-y[1])**2)/r[1]**2
            m3 = ((xx-x[2])**2 + (yy-y[2])**2)/r[2]**2
            
            big = max(m1,m2,m3)
            sma = min(m1,m2,m3)
            d = big-sma
            if d < dif:
                dif = d
                retx = xx
                rety = yy
            
            yy+=step
        xx+=step
    if dif < 50.0:
        return retx,rety
    else:
        return -999.9,-999.9

xst = min(x)
yst = min(y)
xed = max(x)
yed = max(y)
ste = 1.0
tmpx,tmpy = run(xst, yst, xed, yed, ste)
if tmpx == -999.9:
    exit()

xst = tmpx - ste
yst = tmpy - ste
xed = tmpx + ste
yed = tmpy + ste
ste = 0.01
tmpx,tmpy = run(xst, yst, xed, yed, ste)

xst = tmpx - ste
yst = tmpy - ste
xed = tmpx + ste
yed = tmpy + ste
ste = 0.0001
tmpx,tmpy = run(xst, yst, xed, yed, ste)

xst = tmpx - ste
yst = tmpy - ste
xed = tmpx + ste
yed = tmpy + ste
ste = 0.00001
tmpx,tmpy = run(xst, yst, xed, yed, ste)

print str(tmpx)+' '+str(tmpy)