#define rep(i,n) for(int i=0;i<(int)(n);i++) #define ALL(v) v.begin(),v.end() typedef long long ll; #include using namespace std; int main(){ ios::sync_with_stdio(false); std::cin.tie(nullptr); ll z; for(ll i=1;i<=1000000;i++){ if(i*i+3*i-2000000000<=0) z=i; else break; } ll N=z*(z+1)/2; vector> A; ll x=N+z,y=0; for(ll i=z;i>0;i--){ A.push_back({x,y}); x--; y+=i; } for(ll i=2;i<=z;i++){ A.push_back({x,y}); x-=i; y++; } vector> ANS; int a=A.size(); rep(i,a){ ll ax=A[i].first,ay=A[i].second; ANS.push_back({ax,ay}); } rep(i,a){ ll ax=A[i].first,ay=A[i].second; ANS.push_back({-ay,ax}); } rep(i,a){ ll ax=A[i].first,ay=A[i].second; ANS.push_back({-ax,-ay}); } rep(i,a){ ll ax=A[i].first,ay=A[i].second; ANS.push_back({ay,-ax}); } cout<<4*a<<'\n'; rep(i,4*a){ cout<