a,b = map(int,input().split()) c = a*b if c % 10 ==0:#暗算 print(c//10) #電卓 elif 99999999 < c and -99999999 > c: print("E") else: print(c)