object Main extends App {
  val lines = io.Source.stdin.getLines().toList
  val params = for (line <- lines) yield {
    line.split(" ").map(_.toLong)
  }

  if (params(0)(0) <= params(1).sum) {
    println("Yes")
  } else {
    println("No")
  }
}
