#pragma GCC optimize("Ofast") #include using namespace std; using ll=long long; using datas=pair; using tdata=pair; using vec=vector; using mat=vector; using pvec=vector; using pmat=vector; #define For(i,a,b) for(i=a;i=b;i--) #define rep(i,N) For(i,0,N) #define rep1(i,N) For(i,1,N) #define brep(i,N) bFor(i,N-1,0) #define all(v) (v).begin(),(v).end() #define allr(v) (v).rbegin(),(v).rend() #define vsort(v) sort(all(v)) #define vrsort(v) sort(allr(v)) #define mod 1000000007 #define endl "\n" #define output(v) do{bool f=0;for(auto i:v){cout<<(f?" ":"")<>A>>B>>C>>D; For(i,A,B+1){ For(j,C,D+1){ if(i==j)continue; ans++; } } cout<