a,b = map(int,input().split()) if a%10==0 and b%10==0 and abs(a)>=100 and abs(b)>=100: ans = str(a*b)[:-1] else: ans = a*b if ans < -99999999 or ans > 99999999: ans = "E" print(ans)