fn main() { let mut ab = String::new(); std::io::stdin().read_line(&mut ab).ok(); let mut itr = ab.trim().split_whitespace(); let a: i64 = itr.next().unwrap().parse().unwrap(); let b: i64 = itr.next().unwrap().parse().unwrap(); let ex = |mut x| { let mut y = 0; while x % 10 == 0 && x != 0 { x = x / 10; y += 1; } (x, y) }; let (ax, ay) = ex(a); let (bx, by) = ex(b); if ax.abs() <= 9 && ay >= 2 && bx.abs() <= 9 && by >= 2 { println!("{}", a * b / 10); } else if a * b >= -99_999_999 && a * b <= 99_999_999 { println!("{}", a * b); } else { println!("E"); } }