def f(n): if n==0:return 0 c=0 while n%10==0: c+=1 n//=10 return c a,b=map(int,input().split()) c,d=f(a),f(b) e,f=a//(10**c),b//(10**d) if 1<=abs(e)<=9 and 1<=abs(f)<=9 and c>=2 and d>=2: print(a*b//10) else: res=a*b if abs(res)<10**8: print(res) else: print("E")