package net.ipipip0129.kotlin.yukicoder import kotlin.math.abs import kotlin.math.pow fun checkNum(x: Int): Boolean = 10 < abs(x) && abs(x) % 10.0.pow(abs(x).toString().length - 1).toInt() == 0 fun main(args: Array) { val numList = readLine()!!.split(" ").map { it.toInt() } if (checkNum(numList[0]) && checkNum(numList[1])) { print(((numList[0].toLong() * numList[1].toLong()) / 10)) } else { val ans = numList[0].toLong() * numList[1].toLong() if (-99999999 <= ans && ans <= 99999999) { print(ans) } else { println("E") } } }