#include #include #include #include #include #include #include #include using namespace std; using ll = long long; bool f(int a) { int b = abs(a); while (b != 0 && b % 10 == 0) b /= 10; return a % 100 == 0 && 1 <= b && b <= 9; } int main() { ll a, b; cin >> a >> b; ll c = a * b; if (f(a) && f(b)) { cout << c / 10 << endl; } else { if (abs(c) <= 99999999) { cout << c << endl; } else { cout << 'E' << endl; } } return 0; }