function main(input)
{
 var total_damage = input[1].split(' ').reduce(function(total, damage){
   return total += Number(damage)
 },0)
 var hp = input[0].split(' ')[0];
  
  if(hp - total_damage <= 0){
  	console.log('Yes');
  } else {
    console.log('No');
  }
}


main(require('fs').readFileSync('/dev/stdin', 'utf8').trim().split("\n"))