#include using namespace std; bool isSimple(long long N){ if (N == 0) return false; N = abs(N); if ((N % 100LL) != 0) return false; while ((N % 10LL) == 0){ N /= 10LL; } return N <= 9LL; } int main() { cin.tie(0); ios::sync_with_stdio(false); long long A, B; cin >> A >> B; if (isSimple(A) and isSimple(B)){ cout << A * B / 10LL << endl; }else{ long long AB = A * B; if (-99999999 <= AB and AB <= 99999999){ cout << AB; }else{ cout << 'E'; } } return 0; }