#include using namespace std; long ans=0; int X[30],Y[30]; main() { int N; cin>>N; for(int i=0;i>X[i]>>Y[i]; for(int i=0;i