#include #include #include #include #include #include #define ll long long #define P pair #define lP pait using namespace std; int main() { int l,n; int sum=0; cin>>l>>n; vector a(n); for(int i=0;i>a[i]; } sort(a.begin(),a.end()); for (int i=0;il){ cout<