#include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; typedef double D; typedef pair P; #define M 1000000007 #define F first #define S second #define PB push_back ll a,b; int main(void){ cin>>a>>b; ll c=a,d=b; while(c%10==0)c/=10; while(d%10==0)d/=10; if(abs(c)<10&&abs(d)<10){ cout<