#include using namespace std; int main() { ios_base::sync_with_stdio(0); cin.tie(0); int n; cin >> n; set > st; for (int i = 0; i < n; i++) { int x, y; cin >> x >> y; bool hit = false; if (st.size()) { auto itr = st.lower_bound(make_pair(x - 20, 0)); while (itr != st.end()) { int xt = itr->first; int yt = itr->second; if (xt > x + 20) break; int dist = (x - xt) * (x - xt) + (y - yt) * (y - yt); if (dist < 20 * 20) hit = true; ++itr; } } if (!hit) st.emplace(x, y); } cout << st.size() << endl; return 0; }