#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; int main(){ int i, j, k; long long a, b; cin >> a >> b; long long a2 = a, b2 = b; while (true) { if (a2 % 10 == 0) { a2 /= 10; } else { break; } } while (true) { if (b2 % 10 == 0) { b2 /= 10; } else { break; } } if (a2>=1 && a2<=9 && b2 >= 1 && b2 <= 9 && (a % 100 == 0 && b % 100 == 0)) { cout << a*b / 10 << endl; } else { long long num = a * b; if (num >= 0) { if (to_string(num).length() >= 9) { cout << "E" << endl; } else { cout << num << endl; } } else { if (to_string(num).length() >= 10) { cout << "E" << endl; } else { cout << num << endl; } } } getchar(); getchar(); return 0; }