#include using namespace std; using ll = long long; int main(){ ll n,k; cin>>n>>k; vector a(n); for(int i = 0;i>a[i]; sort(a.begin(),a.end()); ll sum = 0; for(int i = 0;ik){ cout<