#include #define TH 99999999 char ispow10under8(long k){ int a = 100; while(a <= 100000000){ for(int n = 1; n <= 9; n++){ if( n*a == k || -n*a == k) return 1; } a *= 10; } return 0; } int main(){ long long A,B; scanf("%lld %lld",&A,&B); if(ispow10under8(A) && ispow10under8(B)){ printf("%lld\n",(A*B)/10); }else{ if(-TH <= A*B && A*B <= TH) printf("%lld\n",A*B); else puts("E"); } }