#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; typedef pair p_ii; const int INF = 1e9; const double PI = acos(-1.0); const ll MOD = 1e9 + 7; ll dig(ll x){ x=abs(x); int d = 0; while(x!=0){ d++; x/=10; } ll ret = 1; for (int i = 0; i < d-1; i++) { ret*=10; } return ret; } int main() { ll A, B; cin>>A>>B; ll diA= dig(A), diB= dig(B); if(A!=0 && B!=0 && abs(A)%diA==0 && abs(B)%diB==0&& diA>=100&& diB>=100){ cout<99999999){ cout<<'E'<