#include using namespace std; int main() { int N,M,i; cin>>N>>M; int C[N]; for(i=0;i>C[i]; } sort(C,C+N); for(i=0;i