#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); long long a, b; cin >> a >> b; long long x = abs(a), y = abs(b); if(a == 0 || b == 0) { cout << 0 << endl; return 0; } while(x % 10 == 0) { x /= 10; } while(y % 10 == 0) { y /= 10; } if(a % 100 == 0 && b % 100 == 0 && x < 10 && y < 10) { cout << a * b / 10 << endl; } else { if(abs(a * b) > 99999999) { cout << "E" << endl; } else { cout << a * b << endl; } } return 0; }