#include using namespace std; using i64 = int64_t; using vi = vector; using vvi = vector; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); cout.setf(ios::fixed); cout.precision(20); int n; cin >> n; vi ls(n); for (int i = 0; i < n; i++) { cin >> ls[i]; } i64 k; cin >> k; auto ok = [&](double a) { i64 cnt = 0; for (i64 l: ls) { cnt += floor(l / a); } return cnt >= k; }; double l = 0, r = 1e9 + 1; while (l < r - 1e-12) { double m = (l + r) / 2; if (ok(m)) { l = m; } else { r = m; } } cout << l << endl; }