using static System.Math; using System; public class Hello { static void Main() { string[] line = Console.ReadLine().Trim().Split(' '); var a = int.Parse(line[0]); var b = int.Parse(line[1]); if (check(a) && check(b)) anzan(a, b); else dentaku(a, b); } static void dentaku(int a, int b) { long ans = a * (long)b; var keta = Abs(ans).ToString().Length; if (keta > 8) Console.WriteLine("E"); else Console.WriteLine(ans); } static void anzan(int a, int b) { long ans = a * (long)b / 10L; Console.WriteLine(ans); } static bool check(int a) { a = Abs(a); var b = new int[] { 100, 1000, 10000, 100000, 1000000, 10000000 }; foreach (var x in b) { if (a % x != 0) return false; var t = a / x; if (t >= 1 && t <= 9) return true; } return false; } }