#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; LL n,k; int a[N]; bool check(double x) { LL res=0; for(int i=1;i<=n;i++) { res+=LL(1.0*a[i]/x); if(res>=k)return true; } return res>=k; } int main() { ios; cin>>n; int mx=0; for(int i=1;i<=n;i++) { cin>>a[i];mx=max(a[i],mx); } cin>>k; double l=1e-10,r=1e9; while(r-l>1e-10) { double mid=(l+r)/2; if(check(mid))l=mid; else r=mid; } cout<