#pragma GCC optimize("O3") #include #define ll long long #define rep(i,n) for(int i=0;i<(n);i++) #define pll pair #define pii pair #define pq priority_queue #define pb push_back #define eb emplace_back #define fi first #define se second #define endl '\n' #define ios ios_base::sync_with_stdio(0),cin.tie(0),cout.tie(0); #define lb(c,x) distance(c.begin(),lower_bound(all(c),x)) #define ub(c,x) distance(c.begin(),upper_bound(all(c),x)) using namespace std; const ll INF=1e9+10; int main(){ ll n; cin >> n; vector x(n),y(n); rep(i,n){ cin >> x[i] >> y[i]; } ll sx=x[0],sy=y[0]; vector used(n); used[0]=1; ll ans=0; rep(i,n){ if(used[i]) continue; ll ax=abs(x[i]-x[0]),ay=abs(y[i]-y[0]); ll ad=ax*ax+ay*ay; ll num=-1; for(ll j=i+1;j