object Main extends App {
  val input = io.StdIn.readLine().split("\n")
  val in1 = input(0).split(" ").map(_.toInt)
  val in2 = input(1).split(" ").map(_.toInt)
 
  if (in1(0) < in2.sum) {
    println("Yes")
  } else {
    println("No")
  }
}