#include using namespace std; int main(){ int L,N; vector w; int in; cin >> L >> N; while(cin >> in) w.push_back(in); sort(w.begin(), w.end()); int ans=0; for(int i=0; i=0) ans++; else break; } cout << ans << endl; return 0; }