#include using namespace std; #define int long long int A,B; int func() { int a=abs(A),b=abs(B); int acnt=0,bcnt=0; if(a==0||b==0)return 0; while(a%10==0){ a/=10; acnt++; } while(b%10==0){ b/=10; bcnt++; } if (a<10&&2<=acnt&&b<10&&2<=bcnt) { return 1; } return 0; } signed main() { std::cin >> A>>B; if(func()){ std::cout << A*B/10 << '\n'; }else{ int ans = A*B; if (abs(ans)>99999999) { std::cout << "E" << '\n'; }else{ std::cout << ans << '\n'; } } return 0; }