N=int(input()) L=list(map(int,input().split())) K=int(input()) ok,ng=0,10**9 for i in range(100): md=(ok+ng)/2 temp=0 for l in L: temp+=l//md if K<=temp: ok=md else: ng=md print(ok)