#include #include #include using namespace std; int main(int argc, char** argv) { int l, n; cin >> l >> n; vector wv; for (int ii=0; ii> w; wv.push_back(w); } sort(wv.begin(), wv.end()); int ii=0; for (; ii