#include using namespace std; #define REP(i,n) for(int i=0;i P; int main(void){ ll i; cin.tie(0); ios_base::sync_with_stdio(false); vector x,y,xx,yy; ll c=0,n=1000000000; for(i=0;;i++){ if(n-i<=0) break; n-=i; x.push_back(n); y.push_back(i); c++; } cout << 4*c-2<< endl; for(i=c-1;i>=0;i--){ xx.push_back(-x[i]); yy.push_back(y[i]); } for(i=0;i=0;i--){ cout << xx[i] << ' ' << -yy[i] << endl; } for(i=c-1;i>=1;i--){ cout << x[i] << ' ' << -y[i] << endl; } cout.flush(); return 0; }