MOD = 10 ** 9 + 7 INF = 10 ** 10 import sys sys.setrecursionlimit(100000000) from math import pi def main(): a,b = map(int,input().split()) a0,b0 = a,b cnt_a,cnt_b = 0,0 while a0%10 == 0: a0 //= 10 cnt_a += 1 while b0%10 == 0: b0 //= 10 cnt_b += 1 if cnt_a > 1 and cnt_b > 1 and abs(a0)//10 == 0 and abs(b0)//10 == 0: print(a*b//10) elif -1e8 < a*b < 1e8: print(a*b) else: print('E') if __name__ == '__main__': main()