#include using namespace std; using i64 = long long; using u64 = unsigned long long; using u32 = unsigned; #define int long long void solve(){ int cnt=0; int n; cin >> n; vector a(n); for (int i = 0; i < n;i++){ cin >> a[i]; } sort(a.begin(), a.end()); int l = 0, r = n - 1; int x = 0, y = 0; while(cnt