I,R,O=input,range,print N=I() for i in R(3):x,y=map(int,I().split()) L=[1,-1,0,0] U=[0,0,1,-1] O(4) for i in R(4):O(x+L[i],y+U[i])