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