#include using namespace std; typedef vector vi; typedef vector vvi; typedef vector vs; typedef vector vb; typedef vector vvb; typedef pair pii; typedef long long ll; typedef unsigned long long ull; #define all(a) (a).begin(),(a).end() #define rall(a) (a).rbegin(), (a).rend() #define pb push_back #define mp make_pair #define loop(i,a,b) for(ull i=(a);i>l>>n; vi w(n); rep(i,n) cin >> w[i]; sort(all(w)); rep(i,n){ if(w[i]