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

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