#include #include #include #include #include #include typedef long long ll; #define MIN(x, y) (x < y ? x : y) #define MAX(x, y) (x > y ? x : y) using namespace std; int main(){ ll A, B; cin >> A >> B; if(A % 10 == 0 && B % 10 == 0){ cout << A * B / 10 << endl; } else { ll ans = A * B; if(ans > 99999999 || ans < -99999999){ cout << "E" << endl; } else { cout << ans << endl; } } }