import java.io.*; import java.util.*; public class Main_yukicoder722 { private static Scanner sc; private static Printer pr; private static void solve() { long a = sc.nextInt(); long b = sc.nextInt(); if (a == 0 || b == 0) { pr.println(0); return; } int n = 0; long tmpa = a; while (tmpa % 10 == 0) { n++; tmpa /= 10; } int m = 0; long tmpb = b; while (tmpb % 10 == 0) { m++; tmpb /= 10; } if (Math.abs(tmpa) < 10 && Math.abs(tmpb) < 10 && n >= 2 && m >= 2) { pr.print(tmpa * tmpb); for (int i = 0; i < n + m - 1; i++) { pr.print('0'); } pr.println(); } else { if (a * b < 100_000_000 && a * b > -100_000_000) { pr.println(a * b); } else { pr.println('E'); } } } // --------------------------------------------------- public static void main(String[] args) { sc = new Scanner(INPUT == null ? System.in : new ByteArrayInputStream(INPUT.getBytes())); pr = new Printer(System.out); solve(); // pr.close(); pr.flush(); // sc.close(); } static String INPUT = null; private static class Printer extends PrintWriter { Printer(OutputStream out) { super(out); } } }