object Main {
  def main(args: Array[String]): Unit = {
    val factors           = io.StdIn.readLine.split(" ").map{_.toInt}
    val special_skills    = io.StdIn.readLine.split(" ").map{_.toInt}
    var all_skill_damages = 0

    special_skills.foreach{ i =>
      all_skill_damages += i
    }

    if( factors( 0 ) <= all_skill_damages ) println( "Yes" )
    else                                    println( "No" )
  }
}