A, B = input().split() if A.count("0") == len(A) - 1 - (1 if A[0] == "-" else 0) and B.count("0") == len(B) - 1 - (1 if B[0] == "-" else 0): print(int(A) * int(B)) else: ans = (int(A) * int(B)) if abs(ans) >= 100000000: print("E") else: print(ans)