import java.util.Scanner; public class N067 { static double max=Integer.MAX_VALUE,min=Math.pow(10, -9),ans,k; static int n; static int[] l; public static void main(String[] args) { Scanner sc = new Scanner(System.in); n=sc.nextInt(); l=new int[n]; for(int i=0;i<n;i++) { l[i]=sc.nextInt(); } k=sc.nextInt(); nibun(min,max); System.out.printf("%.8f",ans); } static void nibun(double min,double max) { double av=0; for(int i=0;i<100;i++) { av=(max+min)/2; if(isok(av)) { min=av; } else { max=av; } } ans=av; return; } static boolean isok(double a) { int cnt=0; int end=0; for(int i=0;end==0&&i<n;i++) { cnt+=(int)(l[i]/a); if(cnt>=k) {end=1;} } if(end==1) { return true; } else { return false; } } }