#include using namespace std; typedef long long LL; typedef pair PII; #define ios ios_base::sync_with_stdio(false);cin.tie(nullptr);cout.tie(nullptr); #define f first #define s second #define endl "\n" const int N=2e5+10; const double eps =1e-9; LL n,k; int a[N]; bool check(long double x) { LL res=0; if(x-0=k; } int main() { ios; cin>>n; for(int i=1;i<=n;i++)cin>>a[i]; cin>>k; long double l=eps,r=1e9; while(r>l+1e-9) { long double mid=(l+r)/2; if(check(mid))l=mid; else r=mid; } cout<