#include using namespace std; #define REP(i,n) for(int i=0; i<(int)(n); i++) #define FOR(i,b,e) for (int i=(int)(b); i<(int)(e); i++) #define ALL(x) (x).begin(), (x).end() const double PI = acos(-1); bool check(long long x) { if (!x) return false; if (x % 100) return false; while (x % 10 == 0) { x /= 10; } return 1 <= abs(x) && abs(x) <= 9; } int main() { ios_base::sync_with_stdio(0); cin.tie(0); long long a, b; cin >> a >> b; if (check(a) && check(b)) { cout << a * b / 10 << endl; } else { long long c = a * b; if (-99999999 <= c && c <= 99999999) cout << c << endl; else cout << "E" << endl; } return 0; }