from re import fullmatch A, B = input().split() C = int(A) * int(B) pat = r"-?[1-9]000*" if fullmatch(pat, A) and fullmatch(pat, B): print(C // 10) elif -99999999 <= C <= 99999999: print(C) else: print("E")