fun main(args:Array) { val (a,b) = readLine()!!.split(" ").map(String::toLong) when { (a%10L == 0L && b%10L == 0L && a >= 10L && b >= 10L) -> (a/10L)*b else -> { val r = a*b if( -99999999 <= r && r <= 99999999 ) r else "E" } }.run(::println) }