#include main() { int N; int W[100]; scanf("%d", &N); for (int i=0; i