#include #include int main(void) { long a,b,c,d,i,j,f=0; scanf("%ld%ld",&a,&b); c=abs(a); do{ if(c%10!=0)f++; c/=10; }while(c>9); d=abs(b); do{ if(d%10!=0)f++; d/=10; }while(d>9); if(100>abs(a)||100>abs(b))f++; if(f>0){ if(a*b>=-99999999&&99999999>=a*b)printf("%ld",a*b); else puts("E"); } else printf("%ld",a*b/10); return 0; }