import java.util.*; class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); long A = in.nextLong(); long B = in.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++; } long ans = 0; if((n >= 2 && A % Math.pow(10,n) == 0) && (m >= 2 && B % Math.pow(10,m) == 0)) { ans = A * B / 10; } else if(Math.abs(A*B) <= 99999999) { ans = A * B; } else { System.out.println("E"); return; } System.out.println(ans); } }