import java.util.Scanner; class Main{ public static void main(String[] args) { Scanner stdIn=new Scanner(System.in); long a=stdIn.nextLong(),b=stdIn.nextLong(),c,d,f=0; if(a>0) c=a; else c=-a; do { if(c%10!=0) f++; c/=10; }while(c>9); if(b>0) d=b; else d=-b; do { if(d%10!=0) f++; d/=10; }while(d>9); if(a>0) c=a; else c=-a; if(b>0) d=b; else d=-b; if(100>c||100>d) f++; if(f>0) { if(a*b>=-99999999&&99999999>=a*b) System.out.print(a*b); else System.out.print("E"); } else System.out.print(a*b/10); } }