#include #include #include using namespace std; int main() { int A, B; cin >> A >> B; if (A%100==0 && B%100==0 ) { string astr = to_string(A); string bstr = to_string(B); int size = 0; if (A<0 || B<0) size = astr.size() + bstr.size() - 3; else size = astr.size() + bstr.size() - 2; while (A>=10 || A<=-10) { A /= 10; } while (B>=10 || B<=-10) { B /= 10; } int ans = A * B; cout << ans; for (int i = 0;i < size-1;i++) { cout << 0; } return 0; } else { string abstr = to_string(A*B); if (abstr.size()>8)cout << 'E' << endl; else cout << A * B << endl; } return 0; }