def calc(A,B): def _(num): n = 0 _num = num while _num and not _num % 10: n+=1 _num//=10 return 1 <= n <= 9 and not num % 100 ans = str(A * B) minus = ans[0] == "-" if minus: ans = ans[1:] if _(A) and _(B): 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))