import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextInt(); long b = sc.nextInt(); if (check(a) && check(b)) { System.out.println(a * b / 10); } else if (a * b >= -99999999 && a * b <= 99999999) { System.out.println(a * b); } else { System.out.println("E"); } } static boolean check(long x) { if (x == 0) { return false; } long y = Math.abs(x); int count = 0; while (y % 10 == 0) { count++; y /= 10; } return (y < 10 && count >= 2); } }