#include #define rep(i,n) for(int i = 0; i < (n); i++) using namespace std; typedef long long ll; int main(){ cin.tie(0); ios::sync_with_stdio(0); ll A,B; cin >> A >> B; auto f = [&](ll X) { string s = to_string(abs(X)); if(s.size() <= 2u) return false; for(int i = 1; i < int(s.size()); i++) if(s[i] != '0') return false; return true; }; ll C = A * B; if(f(A) && f(B)) { if(C % 10 == 0) { cout << C / 10 << endl; } else { cout << C << endl; } } else { if(-99999999 <= C && C <= +99999999) { cout << C << endl; } else { cout << "E" << endl; } } }