N = int(input()) L = list(map(int,input().split())) K = int(input()) eps = 1e-10 high = 10**9+5 low = eps while abs(high-low)>eps: mid = (high+low)/2 cnt = 0 for i in range(N): cnt += int(L[i]/mid) if cnt>=K: low = mid else: high = mid print(high)