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