a, b = map(int, input().split() ) if a%10 == 0 and b%10 == 0: print(a*b//10) else: r = a*b if len(str(r)) <= 8: print(r) else: print('E')