#include #include #include #include #include #include using namespace std; int main(){ long long int n; cin>>n; vector x(n); vector y(n); for (int i=0;i>x[i]; } for (int i=0;i>y[i]; } long long int ans=0; bool s=0; for (int i=0;i