'use strict';
function main(input) {
  const arr = input.trim().split('\n');
  const hp = arr[0].split(' ').map(x => Number(x));
  const attack = arr[1].split(' ').map(x => Number(x));
  let sum = 0;

  for (let i = 0; i < attack.length; i ++) {
    sum += attack[i];
  }
  
  console.log(sum >= hp ? 'Yes' : 'No');
}

main(require("fs").readFileSync("/dev/stdin", "utf8"));