#include #include #include using namespace std; int l, n; int main() { cin>>l>>n; vector W(n); for(int i=0; i> W[i]; sort(W.begin(),W.end()); int ans = 0; for(int i=0; i= 0) ++ans; else break; } cout << ans << endl; return 0; }