a,b = map(int,input().split()) if a%10 == 0 and b%10 == 0: print(a*b//10) else: ans = a*b if abs(ans) > 99999999: print('E') else: print(ans)