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

Solution:
import java.io.*;
import java.util.*;
/**
 * Author:-Milap Shah
 * College:-DA-IICT
 */
public class Main {

    public static void main(String[] args) {
        InputReader s = new InputReader(System.in);
        PrintWriter out = new PrintWriter(System.out);
        /*My code starts here.*/
        
        int x1 = s.nextInt();
        int y1 = s.nextInt();
        
        int x2 = s.nextInt();
        int y2 = s.nextInt();
        
        int x3 = s.nextInt();
        int y3 = s.nextInt();
        
        if((x1 == x2 && x2 == x3) || (y1 == y2 && y2 == y3))
        {
        	out.println(0);
        }
        else
        {
        	double x,y;
        	out.println(3);
        	
        	double a = (x2+x3)/2.0;
        	double b = (y2+y3)/2.0;
        	

        	
        	x = x1 - 2*(x1 - a);
        	y = y1 - 2*(y1 - b);
        	out.println((int)(x)+ " "+ (int)(y));

        	a = (x1+x3)/2.0;
        	b = (y1+y3)/2.0;
        	x = x2 - 2*(x2 - a);
        	y = y2 - 2*(y2 - b);
        	out.println((int)(x)+ " "+ (int)(y));
        	
         	a = (x1+x2)/2.0;
        	b = (y1+y2)/2.0;
        	x = x3 - 2*(x3 - a);
        	y = y3 - 2*(y3 - b);
        	out.println((int)(x)+ " "+ (int)(y));            
        
        }
        
        /*My code ends here.*/
        out.close();
    }
    
    static class Node {
		ArrayList <Long>arr;

		public Node(){
			this.arr = new ArrayList<Long>();
		}
		
		

	}
    
    static class InputReader {

        private InputStream stream;
        private byte[] buf = new byte[8192];
        private int curChar, snumChars;
        private SpaceCharFilter filter;

        public InputReader(InputStream stream) {
            this.stream = stream;
        }

        public int snext() {
            if (snumChars == -1)
                throw new InputMismatchException();
            if (curChar >= snumChars) {
                curChar = 0;
                try {
                    snumChars = stream.read(buf);
                } catch (IOException e) {
                    throw new InputMismatchException();
                }
                if (snumChars <= 0)
                    return -1;
            }
            return buf[curChar++];
        }

        public int nextInt() {
            int c = snext();
            while (isSpaceChar(c))
                c = snext();
            int sgn = 1;
            if (c == '-') {
                sgn = -1;
                c = snext();
            }
            int res = 0;
            do {
                if (c < '0' || c > '9')
                    throw new InputMismatchException();
                res *= 10;
                res += c - '0';
                c = snext();
            } while (!isSpaceChar(c));
            return res * sgn;
        }

        public long nextLong() {
            int c = snext();
            while (isSpaceChar(c))
                c = snext();
            int sgn = 1;
            if (c == '-') {
                sgn = -1;
                c = snext();
            }
            long res = 0;
            do {
                if (c < '0' || c > '9')
                    throw new InputMismatchException();
                res *= 10;
                res += c - '0';
                c = snext();
            } while (!isSpaceChar(c));
            return res * sgn;
        }

        public int[] nextIntArray(int n) {
            int a[] = new int[n];
            for (int i = 0; i < n; i++)
                a[i] = nextInt();
            return a;
        }

        public String readString() {
            int c = snext();
            while (isSpaceChar(c))
                c = snext();
            StringBuilder res = new StringBuilder();
            do {
                res.appendCodePoint(c);
                c = snext();
            } while (!isSpaceChar(c));
            return res.toString();
        }

        public boolean isSpaceChar(int c) {
            if (filter != null)
                return filter.isSpaceChar(c);
            return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
        }

        public interface SpaceCharFilter {
            public boolean isSpaceChar(int ch);
        }
    }
}
class ABC implements Comparable<ABC>{
	
	int a;
	int x;
	public ABC(int num,int mod)
	{
		this.a = num%mod;
		this.x = num;
	}
	@Override
	public int compareTo(ABC that) {
		// TODO Auto-generated method stub
		return (this.a - that.a);
	}
	
}