#include #define rep(i,a) for(int i=0;i<(a);++i) const int MAX_N = 200000; int N, K; int L[MAX_N]; bool C( double x ) { int cnt = 0; rep( i, N ) cnt += int(L[i]/x); return cnt >= K; } int main() { scanf( "%d", &N ); rep( i, N ) scanf( "%d", L+i ); scanf( "%d", &K ); double lb = 0, ub = 1e9; rep( i, 1000 ) { double mid = (lb+ub)/2; if( C( mid ) ) lb = mid; else ub = mid; } printf( "%.9f\n", lb ); return 0; }