A, B = map(int, input().split()) def solve(A): for n in range(2, 10): q, r = divmod(A, 10 ** n) if r == 0 and 1 <= abs(q) <= 9: return True return False if solve(A) and solve(B): print(A * B // 10) else: C = A * B if -99999999 <= C <= 99999999: print(C) else: print("E")