#import #define F(i,a,x)for(auto i=a.lower_bound(x-20);i!=a.upper_bound(x+40);++i) using namespace std;int n,x,y,f,r;main(){map>a;for(cin>>n;cin>>x>>y;f=!f?a[x].insert(y),!++r:0)F(i,a,x)F(j,i->second,y)f|=hypot(x-i->first,y-*j)<20;cout<