'use strict'


function Main(input) {
  input = input.trim().split('\n')
  const array = input[0].split(' ').map(s => parseInt(s))

  const H = array[0]
  const N = array[1]
  const a = input[1].split(' ').map(s => parseInt(s))

  let total = H
  for(let i = 0; i < N; ++i) {
    total -= a[i]
  }

  if(total <= 0) {
    console.log('Yes')
  } else {
    console.log('No')
  }



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