a, b = map(int, input().split()) ok = 0 for i in range(2, 10): if a % (10**i) != 0 or abs(a // (10**i)) >= 10: continue for j in range(2, 10): if ok == 0 and b % (10**j) == 0 and 1 <= abs(b // (10**j)) <= 9: ok = 1 print(a * b // 10) if ok == 0: if -99999999 <= a * b <= 99999999: print(a * b) else: print("E")