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