#include #define rep(i,n) for(int i=0;i> X >> Y; int ans; if(X==Y)ans=0; else if(Y==0)ans=1; else if(X==0)ans=2; else if(X==-Y)ans=3; else ans=-1; cout << ans << endl; return 0; }