#include #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long int ll; typedef pair P; int main() { ll a, b; cin>>a>>b; ll a1=abs(a), b1=abs(b); int n=0, m=0; if(a==0 || b==0){ cout<<0<=2 && m>=2 && 1<=a1 && a1<=9 && 1<=b1 && b1<=9){ cout<