import re a, b = map(int, input().split()) c = re.compile(r'^-?\d0{2,}$') if c.match(str(a)) and c.match(str(b)): print(a * b // 10) else: if abs(a * b) <= 99999999: print(a * b) else: print("E")