#import #define F(a)({for(t=a;t/1000&&t%10<1;t/=10);t/1000|t%100|!t;}) main(){long a,b,t,m=1e8;std::cin>>a>>b;t=F(a)|F(b);printf(t&&a*b/m?"E":"%lld",a*b/(t?1:10));}