#include using namespace std; int main(){ long long a,b; cin >>a>>b; if(a==0&&b==0){cout << 0 << endl;return 0;} long long c,d; c=abs(a); d=abs(b); while(c%10!=0)c/=10; while(d%10!=0)d/=10; if(abs(a)>=100&&abs(b)>=100&&c<10&&d<10){ cout << a*b/10 << endl; return 0; } else if(a*b<=99999999&&a*b>=-99999999){ cout << a*b << endl; }else cout << "E" << endl; return 0; }