a,b = map(int,input().split()) def getDivMod(p) : cnt = 0 x = p while True : x,y = divmod(x,10) if y != 0 : cnt = 0 breakå if 0 < abs(x) and abs(x) <= 9 : cnt += 1 break else : cnt += 1 return x,cnt d1,z1 = getDivMod(a) if z1 != 0 : d2,z2 = getDivMod(b) multi = 0 if z1 >= 2 and z2 >=2 : multi = d1 * d2 answer = str(multi) + "0"*(z1 + z2 -1) else : multi = a * b if -99999999 <= multi and multi <= 99999999: answer = str(multi) else : answer = 'E' print(answer)