A, B = map(int, input().split()) a = str(abs(A))[0] b = str(abs(B))[0] la = len(str(abs(A))) lb = len(str(abs(B))) if la >= 3 and lb >= 3 and abs(A) == int(a + '0' * (la - 1)) and abs(B) == int(b + '0' * (lb - 1)): print(A * B // 10) elif -99999999 <= A * B <= 99999999: print(A * B) else: print('E')