#include using namespace std; #ifdef LOCAL #include "settings/debug.cpp" #else #define Debug(...) void(0) #endif #define rep(i, n) for (int i = 0; i < (n); ++i) using ll = long long; using ull = unsigned long long; inline bool is(ll x) { if (abs(x) < 100) return false; string s = to_string(abs(x)); while (s.back() == '0') s.pop_back(); return s.size() == 1; } int main() { ll a, b; cin >> a >> b; if (is(a) && is(b)) { cout << a * b / 10 << endl; } else { ll t = a * b; constexpr ll thresh = 99999999; if (abs(t) <= thresh) { cout << t << endl; } else { cout << "E" << endl; } } return 0; }