n,p = [int(i) for i in input().split()]
from math import inf
body = []
dic = {}
lst = []
for _ in range(n):
    lst.append([int(i) for i in input().split()]) 
lst = sorted(lst)
for qw in range(n):
    x1,y1 = lst[qw]
    for x2, y2 in body:

        xs, ys = (x1 + x2)/2, (y1 + y2)/2

        normv = [(x1 - x2), (y1 - y2)]
        smerv = [-1*normv[1], normv[0]]

        cs = -1*(smerv[0]*xs + smerv[1]*ys)

        cn = 0

        yp = (smerv[0]*cn - normv[0]*cs) / (normv[0]*smerv[1] - smerv[0]*normv[1])


        try: xp = (smerv[1]*yp+cs)/smerv[0]
        except: xp = (normv[1]*yp+cn)/-1*normv[0]

        vzdial = (xp**2 + yp**2)**(0.5)
        

        if smerv[0] == 0: smer = inf
        else: smer = (smerv[1]/smerv[0])

        #print((x1,y1), (x2,y2), smerv, normv, (xs, ys, cs), (xp, yp), smer, vzdial)

        try: dic[(vzdial,abs(smer),cs)] += 1
        except: dic[(vzdial,abs(smer),cs)] = 1
    body.append((x1,y1))

#print(dic)
maxim = 0
for key in dic: maxim = max((maxim, dic[key]))
if 100/n*(maxim*2) >= p: print("YES")
else: print("NO")