def is_ok(x: int) -> bool: if x == 0: return False t = str(abs(x))[1:] return 2 <= len(t) == t.count("0") def main(): a, b = map(int, input().split()) if is_ok(a) and is_ok(b): print(a * b // 10) elif abs(a * b) < 100000000: print(a * b) else: print("E") if __name__ == "__main__": main()