#include using namespace std; using ll = long long; int main(){ int n; cin>>n; vector a(2*n),b(2*n),x(n),y(n); for(int i = 0;i<2*n;i++) cin>>a[i]; for(int i = 0;i<2*n;i++) cin>>b[i]; for(int i = 0;i>x[i]; for(int i = 0;i>y[i]; ll ans = 0; for(int i = 0;i