#include using namespace std; using ll =long long; #define all(v) v.begin(),v.end() #define rep(i,a,b) for(int i=a;i=b;i--) ll mod=1e9+7; ll mod_pow(ll x,ll n,ll mod) { ll res=1; while(n>0) { if(n&1) { res=res*x%mod; } x=x*x%mod; n>>=1; } return res; } int main() { ll N;cin>>N; vector x(N); ll s=0; for(ll i=0;i>x[i]; s+=x[i]; } ll ans=0; for(ll i=0;i