def calc(a,b): ans=a*b if -99999999 > ans or 99999999 < ans: print('E') else: print(int(ans)) def mental(a,b): ans=(a*b)/10 print(int(ans)) if __name__ == '__main__': a,b=input().split(' ') if int(a)%10==0 and int(b)%10==0: mental(int(a),int(b)) else: calc(int(a),int(b))