#include #include #include #include using namespace std; int main(){ vector vc; long long N,x,m=10000000; bool flag=0; cin >> N; while(N--){ cin >> x; vc.push_back(x); } sort(vc.begin(),vc.end()); for(long long i=1;i