#include using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define REP(i, k, n) for (int i = (int)(k); i < (int)(n); i++) #define rrep(i, n) for (int i = (int)(n)-1; i >= 0; i--) #define rREP(i, k, n) for (int i = (int)(n)-1; i >= k; i--) #define fi first #define se second #define vi vector #define pb push_back #define mp make_pair #define pcnt __builtin_popcount typedef long long ll; const int inf = 100100100; const int MOD = (int)1e9 + 7; const double EPS = 1e-9; templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b> A >> B; //ユキさんが暗算するパターン bool yuki = false; ll t = A; while(t%10==0) t/=10; if(abs(t)>=10) yuki =true; t = B; while(t%10==0) t/=10; if(abs(t)>=10) yuki =true; if(yuki==false){ cout << A*B/10 << endl; return 0; } //電卓を使う if(abs(A*B)>99999999) cout << "E" << endl; else cout << A*B << endl; return 0; }