#define rep(i,n) for(int i=0;i<(int)(n);i++) #define ALL(v) v.begin(),v.end() typedef long long ll; #include using namespace std; templateusing V=vector; templateusing VV=V>;//B(n,V(n)) int main(){ ios::sync_with_stdio(false); std::cin.tie(nullptr); int x,y; cin>>x>>y; if(x==0 && y==0) cout<<0<