"use strict"

let inputs = ``;
let canBuyMaxInt = 0
let judge = false

const reader = require('readline').createInterface({
  input: process.stdin,
  output: process.stdout
});
reader.on('line', function(input) {
  inputs += input+` `
});
reader.on('close', function() {
  let items = inputs.trim().split(' ')
  for (let i = 0 ; i <items.lenght ; i++){
    items[i] = parseInt(items[i])
  }
  let damage = parseInt(0)
  for(let i = 2 ; i < items.length ; i++){
    damage += parseInt(items[i])
  }

  if(damage >= items[0]){
    console.log("yes");
  }else{
    console.log("no");
  }
});