object Main extends App {
  val input1 = io.StdIn.readLine()
  val input2 = io.StdIn.readLine()
  val in1 = input1.split(" ").map(_.toInt)
  val in2 = input2.split(" ").map(_.toInt)

  if (in1(0) < in2.sum) {
    println("Yes")
  } else {
    println("No")
  }
}
