#include<stdio.h>
void pai(int a[],int b[],int s,int e)
{
if(s==e) return;
int mid=(s+e)>>1;
int start1;int end1;
int k=s;int q=s;
pai(a,b,s,mid);pai(a,b,mid+1,e);
start1=mid+1;end1=e;
while(s<=mid&&start1<=end1)
b[k++]=a[s]<a[start1]?a[s++]:a[start1++];
while (s<=mid)
b[k++]=a[s++];
while(start1<=end1)
b[k++]=a[start1++];
for(int i=q;i<=e;i++)
a[i]=b[i];
}
int a[1000],b[1000];
int main ()
{int n,max;
scanf("%d",&n);scanf("%d",&max);
for(int i=0;i<n;i++)
{
scanf("%d",&a[i]);
}
pai(a,b,0,n-1);
int sum=0,count=0;
for(int i=0;i<n;i++)
{
sum+=(n-i)*a[i];
}
if(sum>=max)printf("Yes");
if(sum<max)printf("No");
}