N=int(raw_input()) L=map(int,raw_input().split()) K=int(raw_input()) left=0.000000001 right=1000000001 L.sort() L.reverse() while max(left*1.000000001,left+0.000000001)=K: break if int(l/mid)==0: break if cnt>=K: left=mid else: right=mid print left