def F(num): if abs(num) < 99: return False while True: if num % 10 != 0: break num //= 10 return True if 1 <= abs(num) <= 9 else False A, B = [int(i) for i in input().strip().split(' ')] a, b = F(A), F(B) if a and b: print(A * B // 10) else: if abs(A * B) > 99999999: print('E') else: print(A * B)