def calc(A,B): a = abs(A) b = abs(B) ans = A * B _ans = str(ans) minus = _ans[0] == "-" if minus: _ans = _ans[1:] if 1 <= a <= 9 or 1 <= b <= 9 or not A % 10 and not B % 10: if _ans[-1] == "0": ans = _ans[:-1] else: if len(_ans) > 8: ans = "E" else: ans = _ans if ans != "E" and minus: ans = "-" + ans return ans A,B = map(int,input().split()) print(calc(A,B))