#include<stdio.h>
void quick_sort(int s[], int l, int r)
{
if(l < r)
{
int i = l, j = r, x = s[l];
while(i < j)
{
while(i < j && s[j] >= x)
j--;
if(i < j)
s[i++] = s[j];
while(i < j && s[i] < x)
i++;
if(i < j)
s[j--] = s[i];
}
s[i] = x;
quick_sort(s, l, i - 1);
quick_sort(s, i + 1, r);
}
}
int main(void)
{
int n;
long m;
unsigned long long sum = 0;
_Bool flag = 1;
scanf("%d%ld", &n, &m);
int t[n];
for (int i = 0; i < n; i++)
scanf("%d", &t[i]);
quick_sort(t, 0, n);
/*for (int i = 0; i < n; i++)
printf("%d ", t[i]);
printf("\n");*/
for (int i = 0; i < n; i++)
{
sum = sum +((n - i) * t[i]);
if(sum >= m)
{
flag = 0;
break;
}
}
if(flag == 0)
printf("Yes");
else
printf("No");
return 0;
}