#include using namespace std; int main() { long long A, B; cin >> A >> B; int oa, ob; oa = log10(abs(A)); ob = log10(abs(B)); if (A%(int)pow(10,oa) == 0 && B%(int)pow(10,ob) == 0) { cout << A*B/10 << endl; } else { if (abs(A*B) >= 1e8) { cout << "E" << endl; } else { cout << A*B << endl; } } return 0; }