#include #include #include #include #include #include using namespace std; using ll = long long; constexpr ll M = 1e9+7; int main() { int N, M; cin >> N >> M; vector C(N); for(int i=0; i> C[i]; } sort(C.begin(), C.end()); for(int i=0; i