import java.math.*;
import java.util.*;
 
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int[] tree = new int[n];
        double max=0;
        for(int i=0;i<n;i++){
        	int temp=sc.nextInt();
        	tree[i]=temp;
        	max=Math.max(temp,max);
        }
        long k = sc.nextLong();
        double min=0;
        for(int hh=0;hh<1000;hh++){
        	double temp=(min+max)/2;
        	long count=0;
        	for(int i=0;i<n;i++){
        		count+=(long)tree[i]/temp;
        	}
        	if(count>=k){
        		min=temp;
        	}else{
        		max=temp;
        	}
        }
        System.out.println(max);
    }
}