a, b = list(map(int, input().split(' '))) if a % 100 == 0 and b % 100 == 0: ans = a * b // 10 else: temp = a * b if abs(temp) > 99999999: ans = 'E' else: ans = temp print(ans)