#include <bits/stdc++.h>
using namespace std;
typedef long long ll;

bool check(ll x){
	int cnt = 0;
	if(x == 0) return false;
	while(x % 10 == 0){
		x /= 10;
		cnt++;
	}
	return x >= -9 and x <= 9 and cnt >= 2;
}
int main(){
	cin.tie(0);
	ios::sync_with_stdio(false);

	ll a, b, ans;
	cin >> a >> b;

	if(check(a) and check(b)){
		ans = a * b / 10;
		cout << ans << endl;
		return 0;
	}
	ans = a * b;

	if(ans >= -99999999 and ans <= 99999999) cout << ans << endl;
	else cout << 'E' << endl;
	return 0;
}