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