#define _USE_MATH_DEFINES #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; int main() { int n; cin >> n; vector > x(2), y(2); for(int i=0; i> a >> b; x[i%2].push_back(a); y[i%2].push_back(b); } vector > v(2); for(int i=0; i<2; ++i){ int m = x[i].size(); for(int j=0; j<(1< bs(j); long long sum = 0; for(int k=0; k