#include using namespace std; using ll=long long; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); ll N; cin>>N; assert(N<=100); vector A(N); ll an=0; for(int i=0;i>A[i]; for(int j=0;j