#include using namespace std; int main(){ int N; cin >> N; vector a(N,0); for(int i=0;i> a[i]; } sort(a.begin(),a.end()); int ans = 0; for(int i=0;i