n,p = [int(i) for i in input().split()]
from math import inf
body = []
dic = {}

for _ in range(n):
    x1,y1 = [int(i) for i in input().split()]
    for x2, y2 in body:

        xs, ys = (x1 + x2)/2, (y1 + y2)/2
        smerv = [(x1 - x2), (y1 - y2)]
        normv = [-1*smerv[1], smerv[0]]
        cs = -1*(smerv[0]*xs + smerv[1]*ys)
        cn = 0
        xp = (cs-cn)/(smerv[1]*normv[0] - normv[1]*smerv[0])

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

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

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

#        print((x1,y1), (x2,y2), normv, smerv, (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")