def calc(a,b): ans=a*b if -99999999 > ans or 99999999 < ans: print('E') else: print(int(ans)) def mental(a,b): ans=(a*b)/10 print(int(ans)) if __name__ == '__main__': a,b=input().split(' ') absA=str(abs(int(a))) absB=str(abs(int(b))) if int(absA)!=0 and int(absB)!=0: if int(a)%100==0 and int(b)%100==0 and absA[1]=='0' and absB[1]=='0': mental(int(a),int(b)) else: calc(int(a),int(b)) else: calc(int(a),int(b))