def solve(): N = int(input()) L = list(map(int, input().split())) K = int(input()) a = 0 b = max(L) EPS = 1e-10 EPS1 = 1 + EPS while b - a > EPS and b > a * EPS1: c = (a + b) / 2 n = sum(int(l / c) for l in L) if n >= K: a = c else: b = c print((a + b) / 2) def main(): solve() if __name__ == '__main__': main()