#include #define PI 3.14159265359 using namespace std; const int64_t MOD = 1e9 + 7; int main() { int64_t A, B; cin >> A >> B; string a, b; a = to_string(A); b = to_string(B); int64_t ans = A * B; if ((count(a.begin(), a.end(), '0') == a.size() - 1) && (count(b.begin(), b.end(), '0') == b.size() - 1)) { ans /= 10; } else { if (ans / 100000000 != 0) { cout << "E" << endl; return 0; } } cout << ans << endl; }