//================================= // Created on: 2018/08/03 22:27:04 //================================= #include using ll = long long; int main() { ll A, B; std::cin >> A >> B; if (A == 0 or B == 0) { return std::cout << 0 << std::endl, 0; } int a = 0, b = 0; for (ll A_ = std::abs(A); A_ % 10LL == 0; a++) { A_ /= 10LL; } for (ll B_ = std::abs(B); B_ % 10LL == 0; b++) { B_ /= 10LL; } if (a < 2 or b < 2) { return std::cout << (std::abs(A * B) < 100000000 ? std::to_string(A * B) : "E") << std::endl, 0; } return std::cout << A * B / 10LL << std::endl, 0; }