#include using namespace std; int main() { long long A, B; cin >> A >> B; int flag = 0; long long n = 10; while( A && A % n == 0 ) n *= 10; n /= 10; int a = abs( A ) / n; if( n >= 100 && 1 <= a && a <= 9 ) flag++; long long m = 10; while( B && B % m == 0 ) m *= 10; m /= 10; int b = abs( B ) / m; if( m >= 100 && 1 <= b && b <= 9 ) flag++; long long ans = A * B / 10; if( flag < 2 ) { ans = A * B; if( abs( ans ) > 99999999 ) { cout << "E" << endl; return 0; } } cout << ans << endl; }