Var
tmp,s,i,k,n:integer;
f,w:text;
begin
Assign(f,'input.txt');reset(f);
Assign(w,'output.txt');rewrite(w);
Readln(f,n,k);
for i:= 1 to n do
begin
readln(f,tmp);
s:=s+tmp;
end;
if s >=k then Writeln(w,'Yes')
else Writeln(w,'No');
close(f);close(w);
end.