#include #define rep(i,n) for(int i=0;i ; const int INF = 1e9; const int MOD = 1000000007; bool check(ll x){ int cnt = 0; while(x > 0){ int k = x%10; x /= 10; cnt ++; if(k > 0 && x != 0) return false; } return cnt >=3 ; } int main(){ ll A,B; cin >> A >> B; bool rev_a = false,rev_b = false; if(A < 0) A = -A,rev_a = true; if(B < 0) B = -B,rev_b = true; int k = ((rev_a ^ rev_b) ? -1 : 1); if(check(A) && check(B)){ cout << k * A * B / 10 << endl; return 0; } ll C = k * A * B; if(-99999999 <= C && C <= 99999999) cout << C << endl; else cout << 'E' << endl; return 0; }