#include using namespace std; int main() { int n,i,temp,flag=0; cin>>n; int x[n],y[n]; for(i=0;i>x[i]>>y[i]; temp=x[0]; for(i=1;i