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