import sys; input = sys.stdin.buffer.readline sys.setrecursionlimit(10**7) from collections import defaultdict con = 10 ** 9 + 7; INF = float("inf") def getlist(): return list(map(int, input().split())) #処理内容 def main(): A, B = getlist() AA, BB = A, B n = 0 m = 0 while True: if A % 10 == 0: n += 1 A = int(A // 10) else: break while True: if B % 10 == 0: m += 1 B = int(B // 10) else: break if abs(A) < 10 and abs(B) < 10 and n >= 2 and m >= 2: ans = int(A * B * (10 ** ((n + m) - 1))) print(ans) return ans = AA * BB if abs(ans) < 10 ** 8: print(ans) else: print("E") if __name__ == '__main__': main()