#include using namespace std; bool check(string S) { int zero = 0; for (char C : S) { if (C == '0') zero++; } return zero == (int)S.size() - 1 ? true : false; } void calc(int64_t A, int64_t B, bool M) { if (M) { cout << A * B / 10 << endl; } else { if (A * B >= -99999999 && A * B <= 99999999) cout << A * B << endl; else cout << 'E' << endl; } } int main() { int64_t A, B; cin >> A >> B; calc(A, B, check(to_string(A)) == true && check(to_string(B)) == true); }