const main = input => {
const data = input.split("\n");
const hn = data[0].split(" ");
const a = data[1].split(" ");
a.map(function(){
  return parseInt();
});
const A = a.map(v=>parseInt(v)).reduce((acc,cur)=> acc + cur,0);
if( hn[0] - A < 0){
  console.log("Yes");
} else{
  console.log("No");
}
console.log(A)
console.log(a)
};
main(require("fs").readFileSync("/dev/stdin", "utf8"));