#include using namespace std; int dist(int x1,int y1,int x2,int y2){ return (x1-x2)*(x1-x2)+(y1-y2)*(y1-y2); } int main(){ int n; cin>>n; vector x(n),y(n); for(int i=0;i>x[i]>>y[i]; set> grd; int cnt=0; for(int i=0;ifirst<=x[i]+20){ if(dist(x[i],y[i],it->first,it->second)<400){ canput=false; break; } if(y[i]+20second){ it=grd.lower_bound(make_pair(it->first+1,y[i]-20)); } else it=grd.lower_bound(make_pair(it->first,it->second+1)); } if(canput){ grd.insert(make_pair(x[i],y[i])); cnt++; } } } cout<