#include #include #define DEBUG #define NMAX 100 using namespace std; int main(){ int N; int W[NMAX]; int sum; cin>>N; for(int i=0;i>W[i]; } sum=0; for(int i=0;i