#include #include using namespace std; #define ll long long const int LB = -99999999; const int UB = 99999999; int main() { ll x, y; cin >> x >> y; if(x==0 || y==0) cout<<0<<"\n"; return 0; ll X=abs(x),Y=abs(y); bool by = (Y<10) ? false:true; bool bx = (X<10) ? false:true; if(Y>=10) by = true; while(X%10==0) X/10; while(Y%10==0) Y/10; ll res = x*y; if(bx && by && X<10 && Y<10 ) cout<