#include #include #include #include #include #include #include #include #include using namespace std; #define REP(i,n) for(int i=0;(i)<(n);(i)++) #define ll long long #define int long long int N; int A, B; int ans; signed main() { cin >> A >> B; if (A == 0 || B == 0) { cout << 0 << endl; return 0; } int tmpA = A; int tmpB = B; while (tmpA % 10 == 0) tmpA /= 10; while (tmpB % 10 == 0) tmpB /= 10; if (A % 100 == 0 && tmpA < 10 && B % 100 == 0 && tmpB < 10) { ans = A*B / 10; cout << ans << endl; return 0; } else ans = A*B; if (abs(ans) >= 1e8) cout << 'E' << endl; else cout << ans << endl; return 0; }