Problem: Maxim has opened his own restaurant! The restaurant has got a huge table, the table's length is p meters.

Maxim has got a dinner party tonight, n guests will come to him. Let's index the guests of Maxim's restaurant from 1 to n. Maxim knows the sizes of all guests that are going to come to him. The i-th guest's size (ai) represents the number of meters the guest is going to take up if he sits at the restaurant table.

Long before the dinner, the guests line up in a queue in front of the restaurant in some order. Then Maxim lets the guests in, one by one. Maxim stops letting the guests in when there is no place at the restaurant table for another guest in the queue. There is no place at the restaurant table for another guest in the queue, if the sum of sizes of all guests in the restaurant plus the size of this guest from the queue is larger than p. In this case, not to offend the guest who has no place at the table, Maxim doesn't let any other guest in the restaurant, even if one of the following guests in the queue would have fit in at the table.

Maxim is now wondering, what is the average number of visitors who have come to the restaurant for all possible n! orders of guests in the queue. Help Maxim, calculate this number.

Input

The first line contains integer n (1 ≤ n ≤ 50) — the number of guests in the restaurant. The next line contains integers a1, a2, ..., an (1 ≤ ai ≤ 50) — the guests' sizes in meters. The third line contains integer p (1 ≤ p ≤ 50) — the table's length in meters. 

The numbers in the lines are separated by single spaces.

Output

In a single line print a real number — the answer to the problem. The answer will be considered correct, if the absolute or relative error doesn't exceed 10 - 4.

Examples

Input

3
1 2 3
3


Output

1.3333333333

Note

In the first sample the people will come in the following orders: 

  * (1, 2, 3) — there will be two people in the restaurant; 
  * (1, 3, 2) — there will be one person in the restaurant; 
  * (2, 1, 3) — there will be two people in the restaurant; 
  * (2, 3, 1) — there will be one person in the restaurant; 
  * (3, 1, 2) — there will be one person in the restaurant; 
  * (3, 2, 1) — there will be one person in the restaurant. 



In total we get (2 + 1 + 2 + 1 + 1 + 1) / 6 = 8 / 6 = 1.(3).

Solution (in JAVA):

Solution:
import java.util.*;
import java.math.*;
import java.io.*;

import static java.lang.Math.*;
import static java.util.Arrays.*;
import static java.util.Collections.*;

public class  test{
	
	// ArrayList<Integer> lis = new ArrayList<Integer>();
	// ArrayList<String> lis = new ArrayList<String>();
	// PriorityQueue<Integer> que = new PriorityQueue<Integer>();
	//  Stack<Integer> que = new Stack<Integer>();
    //	static long sum=0;
	// 1000000007 (10^9+7)
	static int mod = 1000000007;
	//static int mod = 1000000009,r=0;
   // static int dx[]={1,-1,0,0};
//	static int dy[]={0,0,1,-1};
//	static int dx[]={1,-1,0,0,1,1,-1,-1};
//  static int dy[]={0,0,1,-1,1,-1,1,-1};
	//static long H,L;
	//static Set<Integer> set = new HashSet<Integer>();
	static int p,a[],n;
	static double d[],an[],com[][];
public  static void main(String[] args)   throws Exception, IOException{
   //String line=""; throws Exception, IOException
   //(line=br.readLine())!=null
	//Scanner sc =new Scanner(System.in);
	// !!caution!! int long //  
	Reader sc = new Reader(System.in);
  // while( ){
	  // int  n=sc.nextInt(),m=sc.nextInt();//a[]=new int[n],b[]=new int[n];
	n=sc.nextInt();
     a=new int[51]; d=new double[51]; an=new double[51]; d[0]=d[1]=1;
     com=new double[51][51];
     for(int i=1;i<51;i++)
		{
			com[i][0]=com[i][i]=1;
			for(int j=1;j<i;j++)
				com[i][j]=(com[i-1][j-1]+com[i-1][j]);
		}
     
     int al=0;
   for(int i=0;i<n;i++){a[sc.nextInt()]++; }
   for(int i=1;i<51;i++)al+=i*a[i];
   for(int i=2;i<51;i++)d[i]=i*d[i-1];
 
     p=sc.nextInt();
     if(al<=p){System.out.println(n); return ;}
     int x[]={1};
     
     for(int i=1;i<=50;i++) {x[0]=i; rep(x,x[0]);}
     d[0]=0;
     for(int i=1;i<=n;i++)if(0<an[i])d[0]+=an[i]*i;
     d[0]/=d[n];
   //  db(an);
    System.out.println(d[0]);
}

 static void rep(int x[],int y){
	 //db(x,y,an);
	 if(p<y)return;
	 double e=1;
	 int b[]=new int[51],w[]=new int[51];
	 for(int i=1;i<51;i++)b[i]=a[i];
	 for(int i=0;i<x.length;i++){ w[x[i]]++;  b[x[i]]--;}
	 for(int i=1;i<51;i++)if( 0<w[i] )e*=com[a[i]][w[i]];
	 if(e==0)return;
	 double ee=0;
	 for(int i=p-y+1;i<51;i++){  if( 0<b[i] )ee+=b[i];  }
	 e*=(ee==0 && p==y)?1:ee;
	 e*=d[x.length]*d[ 0<=(n-x.length-1)?(n-x.length-1):0 ];
	// db(x,e);
	 an[x.length]+=e;
	 int c[]=new int[x.length+1];
	 
	
	 
	 for(int i=0;i<x.length;i++)c[i]=x[i];
	 for(int i=x[x.length-1];i+x[x.length-1]<=p ;i++){
		 c[x.length]=i;
		 rep(c,y+i);
	 }
	 
 }

static void db(Object... os){
    System.err.println(Arrays.deepToString(os));

}
}



class Reader
{
	private BufferedReader x;
	private StringTokenizer st;
	
	public Reader(InputStream in)
	{
		x = new BufferedReader(new InputStreamReader(in));
		st = null;
	}
	public String nextString() throws IOException
	{
		while( st==null || !st.hasMoreTokens() )
			st = new StringTokenizer(x.readLine());
		return st.nextToken();
	}
	public int nextInt() throws IOException
	{
		return Integer.parseInt(nextString());
	}
	public long nextLong() throws IOException
	{
		return Long.parseLong(nextString());
	}
	public double nextDouble() throws IOException
	{
		return Double.parseDouble(nextString());
	}
}


/*

class P implements Comparable<P>{
//	implements Comparable<P>
	int v,w;
	P(int v,int w){
		this.v=v;
		this.w=w;
	
	} 
	public int compareTo(P x){
	   	 return w-x.w;//ascend 
	   }
}
*/