#include int main() { long long a, b, ans, judgeN=0, judgeM=0; scanf("%lld %lld", &a, &b); ans=a*b; if (a%100==0) { while (a) { if (a%10!=0) judgeN++; a/=10; } } if (b%100==0) { while (b) { if (b%10!=0) judgeM++; b/=10; } } if (judgeN==1 && judgeM==1) printf("%lld\n", ans/10); else { if (ans>99999999 || ans<-99999999) printf("E\n"); else printf("%d\n", ans); } return 0; }