A,B=map(int,input().split()) def check(x,y): a=x b=y n,m=0,0 while a>0: if a%10==0: a/=10 n+=1 elif a%10!=0 and (n<2 or a>10): return [0,0,0,0] else: break while b>0: if b%10==0: b/=10 m+=1 elif b%10!=0 and (m<2 or b>10): return [0,0,0,0] else: break return [a,b,n,m] ans=check(A,B) if ans[0]==0: if -99999999 <= A*B <= 99999999: print(int(A*B)) else: print("E") else: print(int(ans[0]*ans[1]*(10**(ans[2]+ans[3]-1))))