#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using lint = long long int; long long int INF = 1001001001001001LL; int inf = 1000000007; long long int MOD = 1000000007LL; double PI = 3.1415926535897932; templateinline void chmin(T1 &a,const T2 &b){if(a>b) a=b;} templateinline void chmax(T1 &a,const T2 &b){if(a> n; vector x(n); vector y(n); for (int i = 0; i < n; i++) { cin >> x[i] >> y[i]; } lint ans = 0; for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { lint tmp = 0; for (int k = 0; k < n; k++) { if ((y[i] - y[j]) * (x[i] - x[k]) == (y[i] - y[k]) * (x[i] - x[j])) tmp++; } ans = max(ans, tmp); } } cout << ans << endl; return 0; }