N = int(input()) ax, ay = map(int, input().split()) bx, by = map(int, input().split()) cx, cy = map(int, input().split()) print(4) direction = [(-1,0),(0,1),(1,0),(0,-1)] for dx, dy in direction: print(cx+dx, cy+dy)