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 alen = String.valueOf(A).length(); int blen = String.valueOf(B).length(); if(A < 0) alen--; if(B < 0) blen--; long ta = pow(alen); long tb = pow(blen); long ans = 0; if(A % ta != 0 || B % tb != 0) { // 電卓 ans = A * B; if(ans > 99999999 || ans < -99999999) System.out.println("E"); else System.out.println(ans); } else { // 暗算 ans = A * B; System.out.println(ans / 10); } } public static int pow(int times) { int x = 1; for(int i=1; i