A, B = map(int, input().split())

def decompose(x):
    if x == 0:
        return None
    temp = abs(x)
    t = 0
    while temp % 10 == 0:
        t += 1
        temp //= 10
    if t < 2:
        return None
    divisor = 10 ** t
    if x % divisor != 0:
        return None
    a = x // divisor
    if 1 <= abs(a) <= 9:
        return (a, t)
    else:
        return None

a_decomp = decompose(A)
b_decomp = decompose(B)

if a_decomp is not None and b_decomp is not None:
    a, n = a_decomp
    b, m = b_decomp
    product_part = a * b
    power = 10 ** (n + m - 1)
    final_product = product_part * power
    print(final_product)
else:
    real_product = A * B
    if -99999999 <= real_product <= 99999999:
        print(real_product)
    else:
        print("E")