import java.util.Scanner; class No_722{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int n = 0; int m = 0; int al = Math.abs(a); int bl = Math.abs(b); for(int i= 0;al >= 10;i++){ al /= 10; n++; } for(int i = 0;bl >= 10;i++){ bl /= 10; m++; } if((n >= 2&&a % Math.pow(10,n) == 0)&&(m >= 2&&b % Math.pow(10,m) == 0)) { System.out.println((long)a * b / 10); }else if(a * b < -99999999 || a * b > 99999999) { System.out.println("E"); }else { System.out.println(a * b); } } }