#include using namespace std; int main() { int L, N; cin >> L >> N; int W[N]; for(int i=0;i> W[i]; sort(W, W+N); int sum = 0, cnt = 0; for(int i=0; i