a, b = map(int, input().split()) #under 100 if -100 < a < 100 or -100 < b < 100: print(a*b) #over 100 and 100 else: if a*b > 0: f = 1 else: f = -1 _a = abs(a) _b = abs(b) if _a % 10**(len(str(_a))-1) == 0 and _b % 10**(len(str(_b))-1) == 0: ans = int(f*_a*_b/10) else: ans = int(f*_a*_b) if abs(ans) > 99999999: ans = "E" print(ans)