#include using namespace std; using int64 = long long; int main() { int64 A, B; cin >> A >> B; int64 C = A, D = B; if(A == 0 || B == 0) { cout << 0 << endl; return 0; } int latte = 0, malta = 0; while(A % 10 == 0) { A /= 10; ++latte; } while(B % 10 == 0) { B /= 10; ++malta; } if(abs(A) <= 9 && abs(B) <= 9) { C *= D; C /= 10; cout << C << endl; } else { C *= D; if(llabs(C) <= 99999999) cout << C << endl; else cout << "E" << endl; } }