fun main(args: Array<String>) {

    val num = readLine()!!.split(" ").map { it.toString() }
    val spc = readLine()!!.split(" ").map { it.toString() }

    var hp = num[0].toInt()
    var sum = 0

    for(a in spc) {
        sum += a.toInt()
    }

    val res = if(hp - sum <= 0) "Yes" else "No"

    print(res)
}