#include #include #include #include #include #include using namespace std; #define rep(i,n) for(int i=0;i<(n);i++) vector center[20100]; int main(void){ int n; cin >> n; int ans = 0; rep(i, n){ int cx, cy; cin >> cx >> cy; int xl = max(0, cx - 20); int xr = cx + 20; bool flag = true; for (int nx = xl; nx <= xr; ++nx){ for(auto ny : center[nx]){ int len = (nx - cx) * (nx - cx) + (ny - cy) * (ny - cy); if(len < 400){//長さの二乗 flag = false; break; } } } if(flag){ ans++; center[cx].push_back(cy); } } printf("%d\n", ans); return 0; }