package test; import java.util.Scanner; public class main { public static void main (String[]args) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); solve(a,b); } static private void solve(long a, long b) { long ans = a * b; if(check(a) && check(b)) { System.out.println(ans/10); } else { if(ans >= -99999999 && ans <= 99999999) { System.out.println(ans); } else { System.out.println("E"); } } } static private boolean check(long num) { while(num%10 == 0) { num /= 10; } num = Math.abs(num); if(num >= 1 && num <= 9) { return true; } return false; } }