#include #include using namespace std; int N,X[2<<17],Y[2<<17]; main() { cin>>N; int ans=1e9; for(int i=0;i>X[i]; for(int i=0;i>Y[i]; for(int i=0;i