fun main(args: Array<String>) {
    val (n, m) = readLine()?.split(" ")?.map(String::toInt) ?: return
    val a = readLine()?.split(" ")?.map(String::toInt) ?: return

    val threshold: Double = 1.0 / (4.0 * m)
    val total = a.sum().toDouble()
    val count = a.filter {
        val ratio: Double = it / total
        ratio >= threshold
    }.size
    if (count >= m) {
        println("Yes")
    } else {
        println("No")
    }
}
