#include using namespace std; typedef long long ll; bool f(ll x) { if (x == 0 || abs(x) < 100) return false; while (x != 0) { if (x % 10 != 0) break; x /= 10; } return abs(x) < 10; } int main() { ll a, b; cin >> a >> b; if (f(a) && f(b)) { cout << (a * b / 10) << '\n'; } else { ll ans = a * b; if (abs(ans) > 99999999) puts("E"); else cout << ans << '\n'; } return 0; }