def resolve():

    N, M = list(map(int, input().split()))

    vote = list(map(int, input().split()))

    bot = sorted(vote)

    print(("Yes" if bot[M*-1] >= sum(vote)/(4*M) else "No"))

resolve()
def resolve():

    N, M = list(map(int, input().split()))

    vote = list(map(int, input().split()))

    bot = sorted(vote)[M*-1:]

    print(("Yes" if min(bot) >= sum(vote)/(4*M) else "No"))

resolve()
def resolve():
    N, M = list(map(int, input().split()))
    vote = list(map(int, input().split()))
    bot = sorted(vote)
    print(("Yes" if bot[M * -1] >= sum(vote) / (4 * M) else "No"))


resolve()

def resolve():
    N, M = list(map(int, input().split()))
    vote = list(map(int, input().split()))
    bot = sorted(vote)[M * -1 :]
    print(("Yes" if min(bot) >= sum(vote) / (4 * M) else "No"))


resolve()

-    bot = sorted(vote) -    print(("Yes" if bot[M * -1] >= sum(vote) / (4 * M) else "No")) +    bot = sorted(vote)[M * -1 :] +    print(("Yes" if min(bot) >= sum(vote) / (4 * M) else "No"))