a,b = map(int,input().split()) import re c=re.compile(r'^-?[1-9][0]{2,}$') if c.findall(str(a)) != [] and c.findall(str(b)) != []: print(int(a*b/10)) else: if abs(a*b) <=99999999: print(a*b) else: print('E')