#include using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); int N; cin >> N; vector A(N); for(auto &a : A) cin >> a; sort(A.begin(),A.end()); long long x = 0,y = 1; auto check = [&](long long a,long long b) -> bool { if((y-x)*b > (b-a)*y) return true; else return false; }; for(int i=0; i