#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 (x >= 10) { if (x % 10)fa = 1; x /= 10; r++; } while (y >= 10) { if (y % 10)fb = 1; y /= 10; r++; } if (!fa && !fb) { cout << x*y; for (int i = 0; i < r - 1; i++) { cout << "0"; } } else { if (abs(a*b) >= 10000000)cout << 'E' << endl; else cout << a*b; } return 0; }