#include #define rep(i,n)for(ll i=0;iP; const int MOD=1000000007; const int INF=0x3f3f3f3f; const ll INFL=0x3f3f3f3f3f3f3f3f; int main(){ int d1,d2;cin>>d1>>d2; int a=4*d1,b=2*d2; if(a