#include using namespace std; typedef long long ll; bool check(ll n) { if (n < 100) return false; while (n % 10 == 0) n /= 10; if (1 <= n && n <= 9) return true; return false; } int main() { ll a, b; cin >> a >> b; if (check(a) && check(b)) cout << a * b / 10 << endl; else { ll ans = a * b; if (-99999999 <= ans && ans <= 99999999) cout << ans << endl; else puts("E"); } return 0; }