import re A, B = map(int, input().split()) prod = A * B r = re.compile('^-?[1-9]00+$') if r.match(str(A)) and r.match(str(B)): ans = str(prod // 10) else: ans = str(prod) if abs(prod) <= 99999999 else "E" print(ans)