#include #include #include using namespace std; int main(){ int N,input,max,ans = 1; vector x; int dp[100000]={}; cin >> N; for(int i=0;i> input; x.push_back(input); } sort(x.begin(),x.end()); for(int i=0;i