import math, sequtils, strutils let a: seq[int] = stdin.readline.split.map(parseInt) b: seq[string] = @[$(abs(a[0])), $(abs(a[1]))] c: seq[int] = @[b[0].count('0'), b[1].count('0')] var prod: int = a[0] * a[1] ans: string if b[0].len == c[0] + 1 and c[1] > 1 and b[1].len == c[1] + 1 and c[1] > 1: prod = prod div 10 ans = $(prod) else: if abs(prod) >= 10 ^ 8: ans ="E" else: ans = $(prod) echo ans