#include int main(void) { long a,b,c,d,i,j,f=0; scanf("%ld%ld",&a,&b); c=a; do{ if(c%10!=0)f++; c/=10; }while(c>9); d=b; do{ if(d%10!=0)f++; d/=10; }while(d>9); 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; }