A,B=map(int,input().split()) flag=0 for x in [A,B]: while x%10==0: x//=10 if abs(x)<=9: flag+=1 if flag==2: print(A*B//10) else: ANS=A*B if -99999999<=ANS<=99999999: print(ANS) else: print("E")