#include using namespace std; typedef vector vi; typedef pair pii; typedef long long ll; #define FOR(i,a,b) for(int i=(a);i<(b);i++) #define REP(i,n) FOR(i,0,n) int main(){ map,vector> > sqrtMap; int N; int count = 0; cin >> N ; FOR(i,0,N){ int x,y; cin >> x >> y ; bool add_flag = true; for(auto point_pare : (set> {make_pair((x+20)/150,(y+20)/150),make_pair((x-20)/150,(y-20)/150),make_pair((x+20)/150,(y-20)/150),make_pair((x-20)/150,(y+20)/150)})){ for(auto points:sqrtMap[make_pair(point_pare.first,point_pare.second)]){ if(sqrt(pow(abs(points.first - x),2) + pow(abs(points.second - y),2)) < 20){ add_flag = false; break; } } } if(add_flag){ sqrtMap[make_pair(x/150,y/150)].push_back(make_pair(x,y)); count++; } } cout << count << endl; return 0; }