from math import * a,b = map(int, input().split()) a_digit = floor(log10(abs(a))) b_digit = floor(log10(abs(b))) if a%(10**a_digit) == 0 and b%(10**b_digit) == 0: print(a*b // 10) else: if -99999999 <= a*b <= 99999999: print(a*b) else: print("E")