#include using namespace std; using Int = long long; template inline void chmin(T1 &a,T2 b){if(a>b) a=b;} template inline void chmax(T1 &a,T2 b){if(a using namespace __gnu_pbds; template using gmap = cc_hash_table >; //INSERT ABOVE HERE signed main(){ Int n; cin>>n; auto calc=[&](Int x,Int y){return (x+1000)*30000+(y+1000);}; gmap sp; using P = pair; vector

dz; for(Int i=-100;i<=100;i++) for(Int j=-100;j<=100;j++) if(i*i+j*j<400) dz.emplace_back(i,j); Int cnt=0; for(Int i=0;i>x>>y; Int flg=0; for(auto p:dz) flg|=sp.find(calc(x+p.first,y+p.second))!=sp.end(); if(flg) continue; cnt++; sp[calc(x,y)]=1; } cout<