N,K,X,Y,A[1024];long dp[42][1024],res,i,j,k,l; main(){ scanf("%d%d%d%d\n",&N,&K,&X,&Y); while(~scanf("%d",&i))A[i]=1; dp[0][K=0]=1; for(i=0;i<1024;i++)K+=A[i]; for(i=0;i