import re def anzan_ok(n): return re.match('^-?[1-9]00+$', str(n)) != None A, B = map(int, input().split()) correct = A * B if anzan_ok(A) and anzan_ok(B): ans = str(correct // 10) else: ans = str(correct) if -99999999 <= correct <= 99999999 else "E" print(ans)