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;
		}
		y
	};

	if ex(a) >= 2 && ex(b) >= 2 {
		println!("{}", a * b / 10);
		
	} else if a * b >= -99_999_999 && a * b <= 99_999_999 {
		println!("{}", a * b);
	} else {
		println!("E");
	}
}