#include using namespace std; using Int = long long; //INSERT ABOVE HERE signed main(){ Int a,b; cin>>a>>b; if(a==0||b==0) return cout<<0<