a, b = map(int,input().split()) ans = a * b if abs(a) < 10 and abs(b) < 10: print(ans) elif a % 100 == 0 and b % 100 == 0 and str(abs(a))[1] == '0' and str(abs(b))[1] == '0': print(int(ans/ 10)) else: if abs(ans) > 99999999: print('E') else: print(ans)