#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); vector> A={{1,1},{1,2}}; rep(_,17){ int a=A.size(); vector> B; rep(i,a-1){ B.push_back(A[i]); B.push_back({A[i].first+A[i+1].first,A[i].second+A[i+1].second}); } B.push_back(A[a-1]); swap(A,B); } int a=A.size(); int N=-1; rep(i,a) N+=A[i].first+A[i].second; int x=N,y=0; vector> C; for(int i=a-1;i>0;i--){ C.push_back({x,y}); x-=A[i].first; y+=A[i].second; } C.push_back({x,y}); x--; y++; for(int i=1;i> ANS; rep(i,c) ANS.push_back(C[i]); rep(i,c){ int nx=C[i].first,ny=C[i].second; ANS.push_back({-ny,nx}); } rep(i,c){ int nx=C[i].first,ny=C[i].second; ANS.push_back({-nx,-ny}); } rep(i,c){ int nx=C[i].first,ny=C[i].second; ANS.push_back({ny,-nx}); } cout<<1000000<<'\n'; rep(i,1000000){ if(i<999999) cout<