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