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