#include #include #define ll long long using namespace std; int main(){ int aw,ab,bw,bb,c,d; cin>>aw>>ab>>bw>>bb>>c>>d; if(ab