fun main(args: Array<String>) {
    val (n, m) = readLine()!!.split(' ').map(String::toInt)
    val aList: List<Int> = readLine()!!.split(" ").map(String::toInt)
    val sum : Int = aList.sum()
    val th: Double = sum * (1 / (4 * m.toDouble()))
    var cnt: Int = 0
    for(i in 0..n-1) {
        if(aList[i] >= th) cnt += 1
        if(cnt == m) {
            println("Yes")
            return
        }
    }
    println("No")
}