N = int(input()) Ax,Ay = map(int, input().split()) Bx,By = map(int, input().split()) Cx,Cy = map(int, input().split()) ANS = [] if Cx>1: ANS.append([Cx-1,Cy]) if Cx1: ANS.append([Cx,Cy-1]) if Cy