import sys input = sys.stdin.readline a, b = map(int, input().split()) ans = 0 if a % 10 == b % 10 == 0: if a == 10 or b == 10: ans = round(a*b) else: if a*b >= 0: ans = round(a*b/10) else: ans = round(a*b) else: ans = round(a*b) if abs(ans) > 99999999.9: ans = "E" print(ans)