import java.util.Scanner; class No_722{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); int n = 0; int m = 0; long al = Math.abs(a); long 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(a * b / 10); }else if(Math.abs(a * b) <= 99999999) { System.out.println(a * b); }else { System.out.println("E"); } } }