#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include //#include #define rep(i,n) for(int i=0;i<(n);i++) #define all(x) x.begin(), x.end() #define rall(x) x.rbegin(), x.rend() #define sz(x) ((int)(x).size()) #define pb push_back using ll = long long; using namespace std; templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b> N; vector X(N),Y(N); rep(i,N) cin >> X[i] >> Y[i]; int ans = 0; rep(i,N){ rep(j,i){ ll dx = X[i]-X[j]; ll dy = Y[i]-Y[j]; int cnt=0; rep(k,N){ ll dx2=X[i]-X[k]; ll dy2=Y[i]-Y[k]; if(dx*dy2-dy*dx2==0) cnt++; } chmax(ans,cnt); } } cout << ans << endl; return 0; }