A, B = map(int, input().split()) if int(str(abs(A))[1:]) == int(str(abs(B))[1:]) == 0 and str(A)[-2:] == str(B)[-2:] == "00": ans = str(A * B) print(ans[:-1]) else: ans = A * B if len(str(abs(ans))) > 8: print("E") else: print(ans)