A,B = map(int, input().split()) a = str(abs(A)) b = str(abs(B)) if A*B == 0: print(0) elif (a[1:]+b[1:]).strip('0') == '' and len(a) != 2 and len(b) != 2: print(str(A*B)[:-1]) elif abs(A*B) < 10**8: print(A*B) else: print('E')