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 PYTHON3):

Solution:
def Maia():
    sx = set()
    sy = set()
    Ax = []
    Ay = []
    x1 ,y1 = map(int, input().split())
    Ax.append(x1)
    Ay.append(y1)
    x2, y2 = map(int, input().split())
    Ax.append(x2)
    Ay.append(y2)
    x3, y3 = map(int, input().split())
    Ax.append(x3)
    Ay.append(y3)

    print(3)

    for i in range(3):
        X = Ax[0] + Ax[1] + Ax[2] - 2*Ax[i]
        Y = Ay[0] + Ay[1] + Ay[2] - 2 * Ay[i]
        print(X, Y)

    # dx1 = 0
    # dy1 = 0
    #
    # rezx = []
    # rezy = []
    #
    # if x1 == x2:
    #     dx1 = abs( y1 - y2)
    #     dy1 = 1
    #     rezx.append(x3)
    #     rezy.append(y3)
    # elif x2 == x3:
    #     dx1 = abs( y2 - y3)
    #     dy1 = 2
    #     rezx.append(x1)
    #     rezy.append(y1)
    # elif x1 == x3:
    #     dx1 = abs(y1 - y3)
    #     dy1 = 3
    #     rezx.append(x2)
    #     rezy.append(y2)
    #
    # elif y1 == y2:
    #     dx1 = abs( x1 - x2 )
    #     dy1 = 4
    #     rezy.append(y3)
    #     rezx.append(x3)
    # elif y2 == y3:
    #     dx1 = abs( x2 - x3 )
    #     dy1 = 5
    #     rezy.append(y1)
    #     rezx.append(x1)
    # elif y1 == y3:
    #     dx1 = abs( x1 - x3 )
    #     dy1 = 6
    #     rezy.append(y2)
    #     rezx.append(x2)
    #
    # X = 0
    # Y = 0
    # if 1 <= dy1 <= 3:
    #     X = Ay[dy1 - 1]
    #     Y = Ax[dy1 - 1] + dx1
    #     aa = Ax[dy1 - 1] - dx1
    #     # print("dvc sdb")
    #     print(X, Y)
    #     print(X , Ax[dy1 - 1] - dx1)
    #     print(rezx[0]*(-1), rezy[0] )
    #
    # elif 4 <= dy1 <= 6:
    #     X = Ax[dy1 - 3 - 1]
    #     Y = Ay[dy1 - 3 - 1] + dx1
    #     aa = Ay[dy1 - 3 - 1] - dx1
    #     # print("cv")
    #     print(X, Y)
    #     print(X, Ay[dy1 - 3 - 1] - dx1)
    #     print(rezx[0], rezy[0]*(-1))


if __name__ == '__main__':
    Maia()