{ll a,b;rd(a,b);wt(a&~b?0:-~(1<