#define _USE_MATH_DEFINES #define _CRT_SECURE_NO_WARNINGS #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; //#include int main() { long long int a, b; cin >> a >> b; long long int x = a, y = b; bool fa = 0, fb = 0; int r = 0; while (abs(x) >= 10) { if (x % 10)fa = 1; x /= 10; r++; } //if (!fa&&abs(a) < 100)r++; while (abs(y) >= 10) { if (y % 10)fb = 1; y /= 10; r++; } if ((!fb&&abs(b) < 100)|| (!fa&&abs(a) < 100))r++; if (!fa && !fb) { cout << x*y; if (x*y) { for (int i = 0; i < r - 1; i++) { cout << "0"; } } cout << endl; } else { if (abs(a*b) >= 100000000)cout << 'E' << endl; else cout << a*b<