fn main() { let mut ab = String::new(); std::io::stdin().read_line(&mut ab).ok(); let ab: Vec = ab.trim().split_whitespace().map(|i| i.parse().unwrap()).collect(); let a = ab[0]; let b = ab[1]; if a == 0 || b == 0 { println!("0"); } else if a.abs() % 10 == 0 && b.abs() % 10 == 0 { println!("{}", a * b / 10); } else if (a * b).abs() >= 100_000_000 { println!("E"); } else { println!("{}", a * b); } }