#include long long int habs(long long int n){ return n > 0 ? n : -n; } int main(){ long long int A, B; long long int tmp; scanf("%lld %lld", &A, &B); tmp = habs(A); while(tmp % 10 == 0){ tmp /= 10; } if(tmp > 9){ goto calc; } tmp = habs(B); while(tmp % 10 == 0){ tmp /= 10; } if(tmp > 9){ goto calc; }else { goto ansan; } calc: A *= B; if(habs(A) > 99999999) printf("E\n"); else printf("%lld\n", A); return 0; ansan: A *= B; printf("%lld\n", A / 10); return 0; }