#coding:utf-8 def main(): l,m = map(int,input().split(' ')) print(cul(l,m)) def cul(a,b): ans = a * b _a = a/100 _b = b/100 if a%100==0 and -9<=_a<=9 and b%100==0 and -9<=_b<=9: ans //= 10 return ans elif ans <= -100000000 or ans >= 100000000: return 'E' else: return ans if __name__ == '__main__': main()