A,B = input().split() v = (int(A)*int(B)) >= 0 A = str(abs(int(A))) B = str(abs(int(B))) if A.count('0') == len(A)-1 and len(A) >= 3 and B.count('0') == len(B)-1 and len(B) >= 3: print(str(int(A)*int(B))[:-1] if v else '-'+str(int(A)*int(B))[:-1]) else: ans = int(A)*int(B) if len(str(ans)) >= 9: print('E') else: print(str(int(A)*int(B)) if v else '-'+str(int(A)*int(B)))