Problem: Long time ago Alex created an interesting problem about parallelogram. The input data for this problem contained four integer points on the Cartesian plane, that defined the set of vertices of some non-degenerate (positive area) parallelogram. Points not necessary were given in the order of clockwise or counterclockwise traversal.

Alex had very nice test for this problem, but is somehow happened that the last line of the input was lost and now he has only three out of four points of the original parallelogram. He remembers that test was so good that he asks you to restore it given only these three points.

Input

The input consists of three lines, each containing a pair of integer coordinates xi and yi ( - 1000 ≤ xi, yi ≤ 1000). It's guaranteed that these three points do not lie on the same line and no two of them coincide.

Output

First print integer k — the number of ways to add one new integer point such that the obtained set defines some parallelogram of positive area. There is no requirement for the points to be arranged in any special order (like traversal), they just define the set of vertices.

Then print k lines, each containing a pair of integer — possible coordinates of the fourth point.

Example

Input

0 0
1 0
0 1


Output

3
1 -1
-1 1
1 1

Note

If you need clarification of what parallelogram is, please check Wikipedia page:

https://en.wikipedia.org/wiki/Parallelogram

Solution (in PYTHON):

Solution:
x1, x2 = map(float,raw_input().split())
y1, y2 = map(float,raw_input().split())
z1, z2 = map(float,raw_input().split())

def solve(x1,x2,y1,y2,z1,z2):
    #x2 = kx1+b
    #y2 = ky1+b
    #y2-x2=k(y1-x1)
    vert1 = 0
    if(y1!=x1):
        k1 = (y2-x2)/(y1-x1)
    else:
        vert1 = 1
        
    vert2 = 0
    if(y1!=z1):
        k2 = (y2-z2)/(y1-z1)
        #print('k2',k2,'y2',y2,'z2',z2,'y1',y1,'z1',z1)
    else:
        vert2 = 1
    
    if(vert1==0):
        if(vert2==0):
            # z2 = k*z1+b3
            b1 = z2-k1*z1
            b2 = x2-k2*x1
            #y=k1*x+b3
            #y=k2*x+b4
            x = -(b2-b1)/(k2-k1)
            y = k1*x+b1
            #print('here',x,y,'k1',k1,'b3',b1,'k2',k2,'b4',b2)
            return x,y,1
    if(vert1==1):
        if(vert2==0):
            # x = z1
            # y = k2*x+b2
            x = z1
            b2 = x2-k2*x1
            y = k2*x+b2
            return x,y,1
        else:
            #print('one line')
            return 0,0,0
    if(vert1==0):
        if(vert2==1):
            x = x1
            b1 = z2-k1*z1
            y = k1*x+b1
            #print('here 2',x,y)
            return x,y,1
u1,u2,u = solve(x1,x2,y1,y2,z1,z2)
v1,v2,v = solve(x1,x2,z1,z2,y1,y2)
w1,w2,w = solve(y1,y2,x1,x2,z1,z2)
print(u+v+w)
if(u==1):
    print int(round(u1)),int(round(u2))
if(v==1):
    print int(round(v1)),int(round(v2))
if(w==1):
    print int(round(w1)),int(round(w2))