#include void solve() { int N, ax, ay, bx, by, cx, cy; std::cin >> N >> ax >> ay >> bx >> by >> cx >> cy; std::cout << "4\n"; int d[] = {1, 0, -1, 0, 1}; for (int i = 0; i < 4; i++) { std::cout << cx+d[i] << " " << cy+d[i+1] << "\n"; } } int main() { std::ios::sync_with_stdio(false); std::cin.tie(nullptr); int testcases = 1; //std::cin >> testcases; for (;testcases--;) solve(); return 0; }