#include #include #include #include #include using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int p; cin>>p; vector > points; int x,y; int flagh=0,flagv=0; for(int i=0;i>x>>y; points.push_back(make_pair(x,y)); } int h=points[0].first,v=points[0].second; for(int i=1;i