#include using namespace std; using ll = long long; using vll=vector; templateT get(){T r;cin>>r;return r;} templatevector tget(ll n){vector v;for(int i=0;i!=n;i++){v.push_back(get());};return v;} templatevoid showV(vector v){for(auto &i:v){cout<>n>>m; vll c=tget(n); ll sum=0,cnt=0; sort(c.begin(),c.end()); for(ll i=0;sum