#include int main() { long long int a, b; scanf("%lld %lld", &a, &b); long long int s = a * b; if (a < 0) a *= -1; int k = 0; if (a >= 100) { while (a > 0) { if (a % 10 > 0) k++; a /= 10; } } if (k == 1) { k = 0; if (b < 0) b *= -1; if (b >= 100) { while (b > 0) { if (b % 10 > 0) k++; b /= 10; } } if (k == 1) { printf("%lld\n", s / 10); return 0; } } if (s < -99999999 || 99999999 < s) printf("E\n"); else printf("%lld\n", s); return 0; }