N = int(input()) a_x, a_y = map(int, input().split()) b_x, b_y = map(int, input().split()) c_x, c_y = map(int, input().split()) print(4) print(c_x - 1, c_y) print(c_x, c_y - 1) print(c_x + 1, c_y) print(c_x, c_y + 1)