def is10(x): c = 0 while x%10==0: x //= 10 c += 1 if abs(x) <= 9 and c >= 2: return (c,x) else: return (-1,-1) A,B = map(int,input().split()) if A==0 or B==0: print(0) exit() n,a = is10(A) m,b = is10(B) if n >= 2 and m >= 2: print(a*b*10**(n+m-1)) else: x = A*B if abs(x) < 10**8: print(x) else: print("E")