#include using namespace std; main() { int L,N; scanf("%d%d",&L,&N); int W[N]; for (int i = 0; i < N; ++i) { scanf("%d",&W[i]); } int count=0; sort(W,W+N); for (int i = 0; i < N; ++i) { if(L