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