#yuki722 a,b=map(int,raw_input().split()) x,y=abs(a),abs(b) sa,sb=str(x),str(y) if x<=10 or y<=10: print a*b elif sa[0]!='0' and sb[0]!='0' and sa.count('0')==len(sa)-1 and sb.count('0')==len(sb)-1: print a*b/10 else: if -99999999<=a*b<=99999999: print a*b else: print 'E'