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