a, b = input().split() def is_e(s): if s[0] == "-": return s[2:] == "0" * (len(s) - 2) and 2 <= (len(s) - 2) else: return s[1:] == "0" * (len(s) - 1) and 2 <= (len(s) - 1) if is_e(a) and is_e(b): print(int(a) * int(b) // 10) else: a, b = map(int, [a, b]) print(a * b if -(10**8) < a * b < 10**8 else "E")