import sys input = sys.stdin.readline N = int(input()) ax, ay = map(int, input().split()) bx, by = map(int, input().split()) cx, cy = map(int, input().split()) print(4) print(cx-1, cy) print(cx+1, cy) print(cx, cy-1) print(cx, cy+1)