def g(a): while a % 10 == 0: a //= 10 return a <= 9 def f(): A, B = map(int, input().split()) if A == 0 or B == 0: return "0" flg = True == g(abs(A)) and g(abs(B)) ans = int(A) * int(B) if flg: return ans // 10 if ans <= 1e8: return ans return "E" print(f())