#include using namespace std; typedef long long ll; bool check(ll x){ while(x % 10 == 0) x /= 10; return x >= -9 and x <= 9; } int main(){ cin.tie(0); ios::sync_with_stdio(false); ll a, b, ans; cin >> a >> b; if(check(a) and check(b)){ ans = a * b / 10; cout << ans << endl; return 0; } ans = a * b; if(ans >= -99999999 and ans <= 99999999) cout << ans << endl; else cout << 'E' << endl; return 0; }