A,B=map(int,input().split()) flag=0 for x in [A,B]: fl=0 while x!=0 and x%10==0: x//=10 fl+=1 if fl>=2 and 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")