a, b = map(int, input().split()) aa = a bb = b a0, b0 = 0, 0 while True: if aa % 10 != 0: if not (-9 <= aa <= 9): a0 = 0 break if bb % 10 != 0: if not (-9 <= bb <= 9): b0 = 0 break if not (-9 <= aa <= 9): aa //= 10 a0 += 1 if not (-9 <= bb <= 9): bb //= 10 b0 += 1 if -9 <= aa <= 9 and -9 <= bb <= 9: break if a0 >= 2 and b0 >= 2: print(a * b // 10) else: ans = a * b if not (-99999999 <= ans <= 99999999): ans = 'E' print(ans)