object Main extends App {
  val sc = new java.util.Scanner(System.in)

  val in1 = sc.next().split(" ").map(_.toInt)
  val in2 = sc.next().split(" ").map(_.toInt)

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