n = int(input()) ax, ay = map(int, input().split()) bx, by = map(int, input().split()) cx, cy = map(int, input().split()) ans = [] di = [0, 1, 0, -1] dj = [1, 0, -1, 0] print(4) for k in range(4): print(cx + di[k], cy + dj[k])