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