#!/usr/bin/env pypy3 CALC_LIMIT = 99999999 def by_hand(x, y): return x * y // 10 def by_calc(x, y): res = x * y if abs(res) > CALC_LIMIT: return None else: return res def judge(x): s = str(abs(x)) if len(s) < 3: return False return s[0] in "123456789" and all(d == "0" for d in s[1:]) def solve(x, y): if judge(x) and judge(y): res = by_hand(x, y) else: res = by_calc(x, y) return res def main(): x, y = (int(z) for z in input().split()) res = solve(x, y) if res is None: print("E") else: print(res) if __name__ == '__main__': main()