#include using namespace std; typedef long long ll; #define rep(i, n) for(ll i = 0, i##_len = (n); i < i##_len; i++) #define reps(i, s, n) for(ll i = (s), i##_len = (n); i < i##_len; i++) #define rrep(i, n) for(ll i = (n) - 1; i >= 0; i--) #define rreps(i, e, n) for(ll i = (n) - 1; i >= (e); i--) #define all(x) (x).begin(), (x).end() #define sz(x) ((ll)(x).size()) #define len(x) ((ll)(x).length()) int main() { cin.tie(0); ios::sync_with_stdio(false); // ifstream in("input.txt"); // cin.rdbuf(in.rdbuf()); ll A, B; cin >> A >> B; string sa = to_string(A); string sb = to_string(B); bool fa = true, fb = true; if (len(sa) == 2) { fa = false; } else { ll idx = 1; if (sa[0] == '-') idx++; reps(i, idx, len(sa)) { if (sa[i] != '0') { fa = false; break; } } } if (len(sb) == 2) { fb = false; } else { ll idx = 1; if (sb[0] == '-') idx++; reps(i, idx, len(sb)) { if (sb[i] != '0') { fb = false; break; } } } if ((fa) && (fb)) { cout << (A * B / 10) << endl; } else { ll ans = A * B; if ((ans >= -99999999) && (ans <= 99999999)) { cout << ans << endl; } else { cout << "E" << endl; } } return 0; }