#include<bits/stdc++.h> #define rep(i,a,b) for(int i=a;i<b;i++) #define rrep(i,a,b) for(int i=a;i>=b;i--) #define fore(i,a) for(auto &i:a) #define all(x) (x).begin(),(x).end() #pragma GCC optimize ("-O3") using namespace std; void _main(); int main() { cin.tie(0); ios::sync_with_stdio(false); _main(); } typedef long long ll; const int inf = INT_MAX / 2; const ll infl = 1LL << 60; template<class T>bool chmax(T &a, const T &b) { if (a<b) { a = b; return 1; } return 0; } template<class T>bool chmin(T &a, const T &b) { if (b<a) { a = b; return 1; } return 0; } //--------------------------------------------------------------------------------------------------- /*--------------------------------------------------------------------------------------------------- ∧_∧ ∧_∧ (´<_` ) Welcome to My Coding Space! ( ´_ゝ`) / ⌒i / \ | | / / ̄ ̄ ̄ ̄/ | __(__ニつ/ _/ .| .|____ \/____/ (u ⊃ ---------------------------------------------------------------------------------------------------*/ ll A, B; //--------------------------------------------------------------------------------------------------- int check() { ll a = abs(A), b = abs(B); int acnt = 0, bcnt = 0; if (a == 0) return 0; if (b == 0) return 0; while (a % 10 == 0) a /= 10, acnt++; while (b % 10 == 0) b /= 10, bcnt++; if (a < 10 and 2 <= acnt and b < 10 and 2 <= bcnt) return 1; return 0; } //--------------------------------------------------------------------------------------------------- void _main() { cin >> A >> B; if (check()) { ll ans = A * B; ans /= 10; printf("%lld\n", ans); } else { ll ans = A * B; if (ans < -99999999 or 99999999 < ans) printf("E\n"); else printf("%lld\n", ans); } }